diff --git a/lib/trie/trie_endtoend_test.go b/lib/trie/trie_endtoend_test.go index 458ae6a958..34048a4e75 100644 --- a/lib/trie/trie_endtoend_test.go +++ b/lib/trie/trie_endtoend_test.go @@ -11,7 +11,6 @@ import ( "sync" "testing" - "github.com/ChainSafe/chaindb" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -267,14 +266,12 @@ func TestDeleteOddKeyLengths(t *testing.T) { } func TestTrieDiff(t *testing.T) { - db := newTestDB(t) + storageDB := newTestDB(t) t.Cleanup(func() { - err := db.Close() + err := storageDB.Close() require.NoError(t, err) }) - storageDB := chaindb.NewTable(db, "storage") - trie := NewEmptyTrie() var testKey = []byte("testKey")