Skip to content

Commit 5d11d38

Browse files
makcandrovAtomicAzzazewile
authored
eth/tracers: fix trace config for TraceCall (#25821)
Co-authored-by: AtomicAzzaz <[email protected]> Co-authored-by: ewile <[email protected]>
1 parent 338bb2e commit 5d11d38

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

eth/tracers/api.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -895,12 +895,7 @@ func (api *API) TraceCall(ctx context.Context, args ethapi.TransactionArgs, bloc
895895

896896
var traceConfig *TraceConfig
897897
if config != nil {
898-
traceConfig = &TraceConfig{
899-
Config: config.Config,
900-
Tracer: config.Tracer,
901-
Timeout: config.Timeout,
902-
Reexec: config.Reexec,
903-
}
898+
traceConfig = &config.TraceConfig
904899
}
905900
return api.traceTx(ctx, msg, new(Context), vmctx, statedb, traceConfig)
906901
}

0 commit comments

Comments
 (0)