From 407ff0f945702816c726c707ca40c07b91e8fdc4 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Sat, 4 May 2019 01:04:19 +0000 Subject: [PATCH] eth: fix accountRangeAt after rebase --- eth/api_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth/api_test.go b/eth/api_test.go index fd60165a01..a1a520bff0 100644 --- a/eth/api_test.go +++ b/eth/api_test.go @@ -28,7 +28,6 @@ import ( "github.com/ethereum/go-ethereum/core/rawdb" "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" ) var dumper = spew.ConfigState{Indent: " "} @@ -54,7 +53,7 @@ func accountRangeTest(t *testing.T, trie *state.Trie, statedb *state.StateDB, st func TestAccountRangeAt(t *testing.T) { var ( - statedb = state.NewDatabase(ethdb.NewMemDatabase()) + statedb = state.NewDatabase(rawdb.NewMemoryDatabase()) state, _ = state.New(common.Hash{}, statedb) addrs = [AccountRangeMaxResults * 2]common.Address{} m = map[common.Address]bool{}