diff --git a/beacon_chain/spec/light_client_sync.nim b/beacon_chain/spec/light_client_sync.nim index 3551a12929..dad7d457a8 100644 --- a/beacon_chain/spec/light_client_sync.nim +++ b/beacon_chain/spec/light_client_sync.nim @@ -302,6 +302,8 @@ func apply_light_client_update( didProgress = true if active_header.slot > store.finalized_header.slot: store.finalized_header = active_header + if store.finalized_header.slot > store.optimistic_header.slot: + store.optimistic_header = store.finalized_header didProgress = true didProgress