eth/catalyst: fix log (#29549)

log:output the correct variable

Co-authored-by: steven <steven@stevendeMacBook-Pro.local>
This commit is contained in:
law wang 2024-04-16 17:21:20 +08:00 committed by GitHub
parent f437307877
commit fadd9d8b81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -627,7 +627,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe
log.Warn("State not available, ignoring new payload")
return engine.PayloadStatusV1{Status: engine.ACCEPTED}, nil
}
log.Trace("Inserting block without sethead", "hash", block.Hash(), "number", block.Number)
log.Trace("Inserting block without sethead", "hash", block.Hash(), "number", block.Number())
if err := api.eth.BlockChain().InsertBlockWithoutSetHead(block); err != nil {
log.Warn("NewPayloadV1: inserting block failed", "error", err)