diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-07 01:26:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-07 01:26:16 +0800 |
commit | cd856cb2133d390758bb24b88fa3b538bb7bc306 (patch) | |
tree | c6d75750802c2de16ae095569a8f2e0c05ce256f /core/chain_makers.go | |
parent | ed84b58af57809a743e5be6f6ea53c079c50b765 (diff) | |
download | dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.tar dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.tar.gz dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.tar.bz2 dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.tar.lz dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.tar.xz dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.tar.zst dexon-cd856cb2133d390758bb24b88fa3b538bb7bc306.zip |
Separated block db from state db. Partial fix for #416
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index fad9ac97b..b5c50dc3d 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -108,7 +108,7 @@ func makeChain(bman *BlockProcessor, parent *types.Block, max int, db ethutil.Da // Create a new chain manager starting from given block // Effectively a fork factory func newChainManager(block *types.Block, eventMux *event.TypeMux, db ethutil.Database) *ChainManager { - bc := &ChainManager{db: db, genesisBlock: GenesisBlock(db), eventMux: eventMux} + bc := &ChainManager{blockDb: db, stateDb: db, genesisBlock: GenesisBlock(db), eventMux: eventMux} if block == nil { bc.Reset() } else { |