Skip to content

Commit

Permalink
Merge pull request #1599 from ethereum/fix-fast-aggregate-bls-test
Browse files Browse the repository at this point in the history
Fix fast_aggregate_verify BLS tests
  • Loading branch information
djrtwo committed Jan 28, 2020
2 parents b74dd67 + b67aeee commit 3daca54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/generators/bls/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def case04_fast_aggregate_verify():

# Invalid signature -- extra pubkey
pubkeys_extra = pubkeys + [bls.G2ProofOfPossession.PrivToPub(PRIVKEYS[-1])]
pubkeys_extra_serial = [encode_hex(pubkey) for pubkey in pubkeys]
pubkeys_extra_serial = [encode_hex(pubkey) for pubkey in pubkeys_extra]
full_name = f'{pubkeys_extra_serial}_{encode_hex(message)}_extra_pubkey'
yield f'fast_aggregate_verify_{(hash(bytes(full_name, "utf-8"))[:8]).hex()}', {
'input': {
Expand Down

0 comments on commit 3daca54

Please sign in to comment.