Skip to content

Commit

Permalink
eth/catalyst: fix log (ethereum#29549)
Browse files Browse the repository at this point in the history
log:output the correct variable

Co-authored-by: steven <[email protected]>
  • Loading branch information
law wang and steven authored Apr 16, 2024
1 parent f437307 commit fadd9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fadd9d8

Please sign in to comment.