fix bls_verify_multiple

This commit is contained in:
protolambda 2019-07-01 00:00:54 +02:00
parent d45b73389e
commit bde73b59fc
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ def bls_verify(pubkey, message_hash, signature, domain):
@only_with_bls(alt_return=True) @only_with_bls(alt_return=True)
def bls_verify_multiple(pubkeys, message_hashes, signature, domain): def bls_verify_multiple(pubkeys, message_hashes, signature, domain):
return bls.verify_multiple(pubkeys, message_hashes, signature, domain) return bls.verify_multiple(pubkeys=pubkeys, message_hashes=message_hashes,
signature=signature, domain=int.from_bytes(domain, byteorder='little'))
@only_with_bls(alt_return=STUB_PUBKEY) @only_with_bls(alt_return=STUB_PUBKEY)