Skip to content

Commit 1e34161

Browse files
committed
tests: make linter happy
1 parent 424af1b commit 1e34161

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

python/tests.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,17 @@ def rand_polynomial(t):
8282
)
8383

8484
vssc_tweaked, tweak, pubtweak = vss.commit().invalid_taproot_commit()
85-
assert VSSCommitment.verify_secshare(vss.secret() + tweak, vss.commit().commitment_to_secret() + pubtweak)
85+
assert VSSCommitment.verify_secshare(
86+
vss.secret() + tweak, vss.commit().commitment_to_secret() + pubtweak
87+
)
8688
assert all(
87-
VSSCommitment.verify_secshare(secshares[i] + tweak, vssc_tweaked.pubshare(i))
89+
VSSCommitment.verify_secshare(
90+
secshares[i] + tweak, vssc_tweaked.pubshare(i)
91+
)
8892
for i in range(n)
8993
)
9094

95+
9196
def simulate_simplpedpop(
9297
seeds, t, investigation: bool
9398
) -> Optional[List[Tuple[simplpedpop.DKGOutput, bytes]]]:

0 commit comments

Comments
 (0)