accounts/abi/bind: support closing a simulated backend

This commit is contained in:
Péter Szilágyi
2019-07-31 11:35:57 +03:00
parent 96ab8e1575
commit 140a7e9177
6 changed files with 48 additions and 8 deletions

View File

@@ -422,6 +422,7 @@ func newServerEnv(t *testing.T, blocks int, protocol int, waitIndexers func(*cor
// Note bloom trie indexer will be closed by it parent recursively.
cIndexer.Close()
bIndexer.Close()
b.Close()
}
}
@@ -503,5 +504,7 @@ func newClientServerEnv(t *testing.T, blocks int, protocol int, waitIndexers fun
bIndexer.Close()
lcIndexer.Close()
lbIndexer.Close()
b.Close()
lb.Close()
}
}