Skip to content

Commit

Permalink
eth/tracers: fix trace config for TraceCall (#25821)
Browse files Browse the repository at this point in the history
Co-authored-by:  AtomicAzzaz  <AtomicAzzaz@users.noreply.github.com>
Co-authored-by:  ewile <ewile@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 21, 2022
1 parent 338bb2e commit 5d11d38
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 5d11d38

Please sign in to comment.