Fix typo due to change of interface

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
Carl Beekhuizen 2019-12-20 08:12:43 +02:00 committed by GitHub
parent 62cbd0e7da
commit 1e410a1290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def update_memory(memory: LightClientMemory, update: LightClientUpdate) -> None:
pubkeys = filter(lambda i: update.aggregation_bits[i], pubkeys)
domain = compute_domain(DOMAIN_SHARD_ATTESTER, update.fork_version)
message = compute_domain_wrapper_root(update.shard_block_root, domain)
assert FastAggregateVerify(pubkey, message, update.signature)
assert FastAggregateVerify(pubkeys, message, update.signature)
# Update period committees if entering a new period
if next_period == current_period + 1: