mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Merge dbcff3a4aa into d3edc58ef7
This commit is contained in:
commit
d8e275ae85
1 changed files with 3 additions and 1 deletions
|
|
@ -234,6 +234,8 @@ func (t *muxTracer) GetResult() (json.RawMessage, error) {
|
||||||
// Stop terminates execution of the tracer at the first opportune moment.
|
// Stop terminates execution of the tracer at the first opportune moment.
|
||||||
func (t *muxTracer) Stop(err error) {
|
func (t *muxTracer) Stop(err error) {
|
||||||
for _, t := range t.tracers {
|
for _, t := range t.tracers {
|
||||||
t.Stop(err)
|
if t.Stop != nil {
|
||||||
|
t.Stop(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue