ethdb, trie: tiny API tidy-up from the database rework pr

This commit is contained in:
Péter Szilágyi
2019-03-11 17:01:47 +02:00
parent 7504dbd6eb
commit 8111b9dda5
4 changed files with 81 additions and 81 deletions

View File

@ -542,7 +542,7 @@ func benchGet(b *testing.B, commit bool) {
b.StopTimer()
if commit {
ldb := trie.db.diskdb.(*leveldb.LevelDBDatabase)
ldb := trie.db.diskdb.(*leveldb.Database)
ldb.Close()
os.RemoveAll(ldb.Path())
}