diff options
Diffstat (limited to 'core/state/managed_state_test.go')
-rw-r--r-- | core/state/managed_state_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/state/managed_state_test.go b/core/state/managed_state_test.go index 1cfdd3a89..3d9c4e867 100644 --- a/core/state/managed_state_test.go +++ b/core/state/managed_state_test.go @@ -26,8 +26,7 @@ import ( var addr = common.BytesToAddress([]byte("test")) func create() (*ManagedState, *account) { - db, _ := ethdb.NewMemDatabase() - statedb, _ := New(common.Hash{}, NewDatabase(db)) + statedb, _ := New(common.Hash{}, NewDatabase(ethdb.NewMemDatabase())) ms := ManageState(statedb) ms.StateDB.SetNonce(addr, 100) ms.accounts[addr] = newAccount(ms.StateDB.getStateObject(addr)) |