mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 20:35:03 -05:00
Update specs/lightclient/sync-protocol.md
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user