Skip to content

Commit f24bac9

Browse files
committed
fix(ethclient): use common.Hash to debug_traceTransaction ethereum#32404
1 parent 50210d9 commit f24bac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethclient/gethclient/gethclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (ec *Client) SubscribePendingTransactions(ctx context.Context, ch chan<- co
150150
// and returns them as a JSON object.
151151
func (ec *Client) TraceTransaction(ctx context.Context, hash common.Hash, config *tracers.TraceConfig) (any, error) {
152152
var result any
153-
err := ec.c.CallContext(ctx, &result, "debug_traceTransaction", hash.Hex, config)
153+
err := ec.c.CallContext(ctx, &result, "debug_traceTransaction", hash, config)
154154
if err != nil {
155155
return nil, err
156156
}

0 commit comments

Comments
 (0)