mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
revert unexpected changes
This commit is contained in:
parent
67191cb77f
commit
b29987287a
1 changed files with 0 additions and 4 deletions
|
|
@ -270,10 +270,6 @@ func (api *ConsensusAPI) forkchoiceUpdated(update engine.ForkchoiceStateV1, payl
|
||||||
// potentially more data to the freezer from the get go.
|
// potentially more data to the freezer from the get go.
|
||||||
finalized := api.remoteBlocks.get(update.FinalizedBlockHash)
|
finalized := api.remoteBlocks.get(update.FinalizedBlockHash)
|
||||||
|
|
||||||
if finalized == nil {
|
|
||||||
finalized = api.eth.BlockChain().GetHeaderByHash(update.FinalizedBlockHash)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Header advertised via a past newPayload request. Start syncing to it.
|
// Header advertised via a past newPayload request. Start syncing to it.
|
||||||
context := []interface{}{"number", header.Number, "hash", header.Hash()}
|
context := []interface{}{"number", header.Number, "hash", header.Hash()}
|
||||||
if update.FinalizedBlockHash != (common.Hash{}) {
|
if update.FinalizedBlockHash != (common.Hash{}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue