diff --git a/specs/altair/sync-protocol.md b/specs/altair/sync-protocol.md index 09d75129c..36b634742 100644 --- a/specs/altair/sync-protocol.md +++ b/specs/altair/sync-protocol.md @@ -214,6 +214,8 @@ def apply_light_client_update(store: LightClientStore, update: LightClientUpdate store.current_sync_committee = store.next_sync_committee store.next_sync_committee = update.next_sync_committee store.finalized_header = active_header + if store.finalized_header.slot > store.optimistic_header.slot: + store.optimistic_header = store.finalized_header ``` #### `process_light_client_update`