Skip to content

Commit

Permalink
no need to randomize the first sig
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed May 6, 2019
1 parent 026b2f5 commit fd36a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_ecc/bls/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def verify_multiple_multiple(
)
)
try:
random_ints = tuple(2**randbelow(64) for _ in range(len(signatures)))
random_ints = (1,) + tuple(2**randbelow(64) for _ in range(len(signatures) - 1))
o = FQ12.one()
for index, pm in enumerate(pubkeys_and_messages):
pubkeys, message_hashes = pm # type: ignore
Expand Down

0 comments on commit fd36a53

Please sign in to comment.