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 /core/chain_makers.go | |
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 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index 85a6175dc..0bb1df95a 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -184,9 +184,9 @@ func makeHeader(parent *types.Block, state *state.StateDB) *types.Header { func newCanonical(n int, db common.Database) (*BlockProcessor, error) { evmux := &event.TypeMux{} - WriteTestNetGenesisBlock(db, db, 0) - chainman, _ := NewChainManager(db, db, db, FakePow{}, evmux) - bman := NewBlockProcessor(db, db, FakePow{}, chainman, evmux) + WriteTestNetGenesisBlock(db, 0) + chainman, _ := NewChainManager(db, FakePow{}, evmux) + bman := NewBlockProcessor(db, FakePow{}, chainman, evmux) bman.bc.SetProcessor(bman) parent := bman.bc.CurrentBlock() if n == 0 { |