Update specs/lightclient/sync-protocol.md

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
vbuterin 2020-11-17 13:26:26 +08:00 committed by GitHub
parent 5e5d03d56f
commit 692a0aaaa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)