diff --git a/rpc/ethereum/namespaces/debug/api.go b/rpc/ethereum/namespaces/debug/api.go index 1448810ec1..49933ddbb9 100644 --- a/rpc/ethereum/namespaces/debug/api.go +++ b/rpc/ethereum/namespaces/debug/api.go @@ -192,7 +192,7 @@ func (a *API) traceBlock(height rpctypes.BlockNumber, config *evmtypes.TraceConf for i, tx := range txs { decodedTx, err := txDecoder(tx) if err != nil { - a.logger.Error("failed to decode transaction", "hash", txs[i].Hash().String(), "error", err.Error()) + a.logger.Error("failed to decode transaction", "hash", txs[i].Hash(), "error", err.Error()) continue }