Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
extra logging (ledgerwatch#4622)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Jul 3, 2022
1 parent 8e3c099 commit 8ae9381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eth/stagedsync/stage_headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ func handleNewPayload(
}

if header.Number.Uint64() != parent.Number.Uint64()+1 {
cfg.hd.BeaconRequestList.Remove(requestId)
cfg.hd.ReportBadHeaderPoS(headerHash, header.ParentHash)
return &privateapi.PayloadStatus{
Status: remote.EngineStatus_INVALID,
LatestValidHash: header.ParentHash,
Expand Down

0 comments on commit 8ae9381

Please sign in to comment.