mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 18:00:46 +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
|
return
|
||||||
}
|
}
|
||||||
// Avoid processing nested calls when only caring about top call
|
// Avoid processing nested calls when only caring about top call
|
||||||
if t.config.OnlyTopCall && depth > 0 {
|
if t.config.OnlyTopCall && depth > 1 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Skip if tracing was interrupted
|
// Skip if tracing was interrupted
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue