Skip to content

Commit

Permalink
fixing output for batch verify
Browse files Browse the repository at this point in the history
  • Loading branch information
asanso committed Sep 15, 2021
1 parent 2e357bf commit 5d36085
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,9 @@ def case06_batch_verify():
assert milagro_bls.VerifyMultipleAggregateSignatures(signature_set)
yield 'batch_verify_valid_simple_signature_set', {
'input': {
'pubkey': pubkeys_serial,
'message': messages_serial,
'signature': sigs_serial
'pubkeys': pubkeys_serial,
'messages': messages_serial,
'signatures': sigs_serial
},
'output': True
}
Expand Down Expand Up @@ -545,9 +545,9 @@ def case06_batch_verify():
sigs_serial.append(encode_hex(forgedSig2))
yield 'batch_verify_invalid_forged_signature_set', {
'input': {
'pubkey': pubkeys_serial,
'message': messages_serial,
'signature': sigs_serial
'pubkeys': pubkeys_serial,
'messages': messages_serial,
'signatures': sigs_serial
},
'output': False
}
Expand Down

0 comments on commit 5d36085

Please sign in to comment.