We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cbf47e commit 3d93120Copy full SHA for 3d93120
cmd/geth/bintrie_convert_test.go
@@ -49,7 +49,6 @@ func TestBintrieConvert(t *testing.T) {
49
Preimages: true,
50
PathDB: pathdb.Defaults,
51
})
52
- defer srcTriedb.Close()
53
54
gspec := &core.Genesis{
55
Config: params.TestChainConfig,
@@ -74,6 +73,7 @@ func TestBintrieConvert(t *testing.T) {
74
73
genesisBlock := gspec.MustCommit(chaindb, srcTriedb)
75
root := genesisBlock.Root()
76
t.Logf("Genesis root: %x", root)
+ srcTriedb.Close()
77
78
srcTriedb2 := triedb.NewDatabase(chaindb, &triedb.Config{
79
0 commit comments