mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-11 02:26:38 +00:00
eth/tracers: fix trace config for TraceCall (#25821)
Co-authored-by: AtomicAzzaz <AtomicAzzaz@users.noreply.github.com> Co-authored-by: ewile <ewile@users.noreply.github.com>
This commit is contained in:
parent
338bb2e36c
commit
5d11d38f4d
1 changed files with 1 additions and 6 deletions
|
|
@ -895,12 +895,7 @@ func (api *API) TraceCall(ctx context.Context, args ethapi.TransactionArgs, bloc
|
||||||
|
|
||||||
var traceConfig *TraceConfig
|
var traceConfig *TraceConfig
|
||||||
if config != nil {
|
if config != nil {
|
||||||
traceConfig = &TraceConfig{
|
traceConfig = &config.TraceConfig
|
||||||
Config: config.Config,
|
|
||||||
Tracer: config.Tracer,
|
|
||||||
Timeout: config.Timeout,
|
|
||||||
Reexec: config.Reexec,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return api.traceTx(ctx, msg, new(Context), vmctx, statedb, traceConfig)
|
return api.traceTx(ctx, msg, new(Context), vmctx, statedb, traceConfig)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue