aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-06-03 21:56:25 +0800
committerobscuren <geffobscura@gmail.com>2015-06-04 04:43:23 +0800
commit5197aed7dbba2ac19d99221efe33fede82007f5d (patch)
tree98d7870254d9a6a4298ecdcc3d532998486d5f68 /cmd
parentec7a2c34423f9337c238ff07c39a15eb18eed79a (diff)
downloadgo-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.tar
go-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.tar.gz
go-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.tar.bz2
go-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.tar.lz
go-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.tar.xz
go-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.tar.zst
go-tangerine-5197aed7dbba2ac19d99221efe33fede82007f5d.zip
cmd/utils, eth: core.NewBlockProcessor no longer needs TxPool
Diffstat (limited to 'cmd')
-rw-r--r--cmd/utils/flags.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index d319055b1..909d7815e 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -345,8 +345,7 @@ func MakeChain(ctx *cli.Context) (chain *core.ChainManager, blockDB, stateDB, ex
eventMux := new(event.TypeMux)
pow := ethash.New()
chain = core.NewChainManager(blockDB, stateDB, pow, eventMux)
- txpool := core.NewTxPool(eventMux, chain.State, chain.GasLimit)
- proc := core.NewBlockProcessor(stateDB, extraDB, pow, txpool, chain, eventMux)
+ proc := core.NewBlockProcessor(stateDB, extraDB, pow, chain, eventMux)
chain.SetProcessor(proc)
return chain, blockDB, stateDB, extraDB
}