aboutsummaryrefslogtreecommitdiffstats
path: root/eth
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 /eth
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 'eth')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 98939b1fa..724763a52 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -288,7 +288,7 @@ func New(config *Config) (*Ethereum, error) {
eth.chainManager = core.NewChainManager(blockDb, stateDb, eth.pow, eth.EventMux())
eth.downloader = downloader.New(eth.EventMux(), eth.chainManager.HasBlock, eth.chainManager.GetBlock)
eth.txPool = core.NewTxPool(eth.EventMux(), eth.chainManager.State, eth.chainManager.GasLimit)
- eth.blockProcessor = core.NewBlockProcessor(stateDb, extraDb, eth.pow, eth.txPool, eth.chainManager, eth.EventMux())
+ eth.blockProcessor = core.NewBlockProcessor(stateDb, extraDb, eth.pow, eth.chainManager, eth.EventMux())
eth.chainManager.SetProcessor(eth.blockProcessor)
eth.miner = miner.New(eth, eth.EventMux(), eth.pow)
eth.miner.SetGasPrice(config.GasPrice)