aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-07-31 16:35:57 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-07-31 16:35:57 +0800
commit140a7e91778447e058c1811103037437b2091c6e (patch)
tree7497a593073b3ff03212945efe731c103e75e9ca /les
parent96ab8e1575bb5e3a12a70dc6f349f4baa32f710a (diff)
downloadgo-tangerine-140a7e91778447e058c1811103037437b2091c6e.tar
go-tangerine-140a7e91778447e058c1811103037437b2091c6e.tar.gz
go-tangerine-140a7e91778447e058c1811103037437b2091c6e.tar.bz2
go-tangerine-140a7e91778447e058c1811103037437b2091c6e.tar.lz
go-tangerine-140a7e91778447e058c1811103037437b2091c6e.tar.xz
go-tangerine-140a7e91778447e058c1811103037437b2091c6e.tar.zst
go-tangerine-140a7e91778447e058c1811103037437b2091c6e.zip
accounts/abi/bind: support closing a simulated backend
Diffstat (limited to 'les')
-rw-r--r--les/helper_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/les/helper_test.go b/les/helper_test.go
index fb9117ad1..d66cfa1a5 100644
--- a/les/helper_test.go
+++ b/les/helper_test.go
@@ -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()
}
}