diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-12 21:50:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-12 21:50:35 +0800 |
commit | ef6706696c39c77b20dc5127da8c62e89de39cf7 (patch) | |
tree | de5ab225e8c9f53ddf181a58e0f4652c720e4c2e /core/chain_makers.go | |
parent | 31a95151c9fb95c8527e419347556f455aebd1cb (diff) | |
download | go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar.gz go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar.zst go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.zip |
Add additional extra database for non-protocol related data
* Add transaction to extra database after a successful block process
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 b5c50dc3d..f140b5c7e 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -120,7 +120,7 @@ func newChainManager(block *types.Block, eventMux *event.TypeMux, db ethutil.Dat // block processor with fake pow func newBlockProcessor(db ethutil.Database, txpool *TxPool, cman *ChainManager, eventMux *event.TypeMux) *BlockProcessor { - bman := NewBlockProcessor(db, FakePow{}, txpool, newChainManager(nil, eventMux, db), eventMux) + bman := NewBlockProcessor(db, db, FakePow{}, txpool, newChainManager(nil, eventMux, db), eventMux) return bman } |