eth/catalyst: fix log (#29549)

log:output the correct variable

Co-authored-by: steven <steven@stevendeMacBook-Pro.local>
pull/29553/head
law wang 7 months ago committed by GitHub
parent f437307877
commit fadd9d8b81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      eth/catalyst/api.go

@ -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)

Loading…
Cancel
Save