mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
fix failing test
This commit is contained in:
parent
cc763d0908
commit
027b15cad9
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ func TestBintrieConvert(t *testing.T) {
|
|||
Preimages: true,
|
||||
PathDB: pathdb.Defaults,
|
||||
})
|
||||
defer srcTriedb.Close()
|
||||
|
||||
gspec := &core.Genesis{
|
||||
Config: params.TestChainConfig,
|
||||
|
|
@ -74,6 +73,7 @@ func TestBintrieConvert(t *testing.T) {
|
|||
genesisBlock := gspec.MustCommit(chaindb, srcTriedb)
|
||||
root := genesisBlock.Root()
|
||||
t.Logf("Genesis root: %x", root)
|
||||
srcTriedb.Close()
|
||||
|
||||
srcTriedb2 := triedb.NewDatabase(chaindb, &triedb.Config{
|
||||
Preimages: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue