mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
eth/catalyst: fix invalid timestamp log message (#33440)
Fixes a typo in the NewPayload invalid timestamp warning where the parent timestamp was incorrectly logged as the block timestamp.
This commit is contained in:
parent
6978ab48aa
commit
7aae33eacf
1 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe
|
|||
return api.delayPayloadImport(block), nil
|
||||
}
|
||||
if block.Time() <= parent.Time() {
|
||||
log.Warn("Invalid timestamp", "parent", block.Time(), "block", block.Time())
|
||||
log.Warn("Invalid timestamp", "parent", parent.Time(), "block", block.Time())
|
||||
return api.invalid(errors.New("invalid timestamp"), parent.Header()), nil
|
||||
}
|
||||
// Another corner case: if the node is in snap sync mode, but the CL client
|
||||
|
|
|
|||
Loading…
Reference in a new issue