mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
Co-authored-by: Andrei Silviu Dragnea <andreisilviudragnea@gmail.com>
This commit is contained in:
parent
a8c252f5bc
commit
2ba36f3f0d
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ func (t *callTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, sco
|
|||
return
|
||||
}
|
||||
// Avoid processing nested calls when only caring about top call
|
||||
if t.config.OnlyTopCall && depth > 0 {
|
||||
if t.config.OnlyTopCall && depth > 1 {
|
||||
return
|
||||
}
|
||||
// Skip if tracing was interrupted
|
||||
|
|
|
|||
Loading…
Reference in a new issue