From 692a0aaaa5f599cbf0a0377e60346168cdc1fb26 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 17 Nov 2020 13:26:26 +0800 Subject: [PATCH] Update specs/lightclient/sync-protocol.md Co-authored-by: Alex Stokes --- specs/lightclient/sync-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/lightclient/sync-protocol.md b/specs/lightclient/sync-protocol.md index a24501426..935c59481 100644 --- a/specs/lightclient/sync-protocol.md +++ b/specs/lightclient/sync-protocol.md @@ -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)