Skip to content

Commit

Permalink
eth/tracers: fix trace config for TraceCall (ethereum#25821)
Browse files Browse the repository at this point in the history
Co-authored-by:  AtomicAzzaz  <[email protected]>
Co-authored-by:  ewile <[email protected]>
  • Loading branch information
3 people authored and shekhirin committed Jun 6, 2023
1 parent f3a7f80 commit 59f47f7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions eth/tracers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -895,12 +895,7 @@ func (api *API) TraceCall(ctx context.Context, args ethapi.TransactionArgs, bloc

var traceConfig *TraceConfig
if config != nil {
traceConfig = &TraceConfig{
Config: config.Config,
Tracer: config.Tracer,
Timeout: config.Timeout,
Reexec: config.Reexec,
}
traceConfig = &config.TraceConfig
}
return api.traceTx(ctx, msg, new(Context), vmctx, statedb, traceConfig)
}
Expand Down

0 comments on commit 59f47f7

Please sign in to comment.