Skip to content

Commit dffa1f5

Browse files
authored
ethclient/gethclient: use common.Hash to debug_traceTransaction (#32404)
1 parent d99143d commit dffa1f5

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
@@ -209,7 +209,7 @@ func (ec *Client) SubscribePendingTransactions(ctx context.Context, ch chan<- co
209209
// and returns them as a JSON object.
210210
func (ec *Client) TraceTransaction(ctx context.Context, hash common.Hash, config *tracers.TraceConfig) (any, error) {
211211
var result any
212-
err := ec.c.CallContext(ctx, &result, "debug_traceTransaction", hash.Hex(), config)
212+
err := ec.c.CallContext(ctx, &result, "debug_traceTransaction", hash, config)
213213
if err != nil {
214214
return nil, err
215215
}

0 commit comments

Comments
 (0)