mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-20 22:38:11 +00:00
Update specs/lightclient/sync-protocol.md
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
parent
5e5d03d56f
commit
692a0aaaa5
@ -85,7 +85,7 @@ def validate_update(memory: LightClientMemory, update: LightClientUpdate) -> boo
|
||||
# Verify that it actually updates to a newer slot
|
||||
assert update.header.slot > memory.header.slot
|
||||
|
||||
# Convenience as independent variable for convenience
|
||||
# Independent variable for convenience
|
||||
committee = memory.current_sync_committee if new_period == current_period else memory.next_sync_committee
|
||||
assert len(update.aggregation_bits) == len(committee)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user