Fix typo due to change of interface
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
parent
62cbd0e7da
commit
1e410a1290
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue