Skip to content

Commit

Permalink
Fix block proposer verification failure for light forward syncing alg…
Browse files Browse the repository at this point in the history
…orithm.
  • Loading branch information
cheatfate committed Nov 24, 2024
1 parent cd8de2f commit eccbd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_chain/sync/sync_overseer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ proc rebuildState(overseer: SyncOverseerRef): Future[void] {.

let
fork =
getStateField(dag.headState, fork)
getStateField(dag.clearanceState, fork)
genesis_validators_root =
getStateField(dag.headState, genesis_validators_root)
getStateField(dag.clearanceState, genesis_validators_root)

verifyBlockProposer(batchVerifier[], fork, genesis_validators_root,
dag.db.immutableValidators, blocksOnly).isOkOr:
Expand Down

0 comments on commit eccbd08

Please sign in to comment.