aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-12 21:50:35 +0800
committerobscuren <geffobscura@gmail.com>2015-03-12 21:50:35 +0800
commitef6706696c39c77b20dc5127da8c62e89de39cf7 (patch)
treede5ab225e8c9f53ddf181a58e0f4652c720e4c2e /core/chain_makers.go
parent31a95151c9fb95c8527e419347556f455aebd1cb (diff)
downloadgo-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar
go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar.gz
go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar.bz2
go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar.lz
go-tangerine-ef6706696c39c77b20dc5127da8c62e89de39cf7.tar.xz
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.go2
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
}