mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
eth/tracers: add missing teardown in TestTraceChain
This commit is contained in:
parent
39ab721992
commit
e7706ad11d
1 changed files with 1 additions and 0 deletions
|
|
@ -1105,6 +1105,7 @@ func TestTraceChain(t *testing.T) {
|
||||||
nonce += 1
|
nonce += 1
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
defer backend.teardown()
|
||||||
backend.refHook = func() { ref.Add(1) }
|
backend.refHook = func() { ref.Add(1) }
|
||||||
backend.relHook = func() { rel.Add(1) }
|
backend.relHook = func() { rel.Add(1) }
|
||||||
api := NewAPI(backend)
|
api := NewAPI(backend)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue