Skip to content

Commit fadd9d8

Browse files
law wangsteven
andauthored
eth/catalyst: fix log (#29549)
log:output the correct variable Co-authored-by: steven <[email protected]>
1 parent f437307 commit fadd9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/catalyst/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe
627627
log.Warn("State not available, ignoring new payload")
628628
return engine.PayloadStatusV1{Status: engine.ACCEPTED}, nil
629629
}
630-
log.Trace("Inserting block without sethead", "hash", block.Hash(), "number", block.Number)
630+
log.Trace("Inserting block without sethead", "hash", block.Hash(), "number", block.Number())
631631
if err := api.eth.BlockChain().InsertBlockWithoutSetHead(block); err != nil {
632632
log.Warn("NewPayloadV1: inserting block failed", "error", err)
633633

0 commit comments

Comments
 (0)