diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-07 01:57:39 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-08 04:29:02 +0800 |
commit | a23478c0be94e1e727a64d20341b8d6f98d7f0a0 (patch) | |
tree | 27020e2617acb8881332cac998965acdee6c2eb9 /tests | |
parent | d7580f21f65beaf896bfc004cf13d28ed87f2ae3 (diff) | |
download | dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.gz dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.bz2 dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.lz dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.xz dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.zst dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.zip |
core, eth, trie, xeth: merged state, chain, extra databases in one
Diffstat (limited to 'tests')
-rw-r--r-- | tests/block_test_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 42e4383d1..8cb7b7882 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -204,7 +204,7 @@ func (test *BlockTest) makeEthConfig() *eth.Config { // InsertPreState populates the given database with the genesis // accounts defined by the test. func (t *BlockTest) InsertPreState(ethereum *eth.Ethereum) (*state.StateDB, error) { - db := ethereum.StateDb() + db := ethereum.ChainDb() statedb := state.New(common.Hash{}, db) for addrString, acct := range t.preAccounts { addr, err := hex.DecodeString(addrString) |