mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-18 18:42:35 +00:00
Fix block proposer verification failure for light forward syncing algorithm. (#6726)
This commit is contained in:
parent
5579c5234f
commit
a461bb102f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user