aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-18 23:00:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-18 23:00:19 +0800
commitb91b581b80ec99dfa07b7206104faa919210fc4f (patch)
treedb9e452976af523e192c454148956cb15872fe9f /eth/backend.go
parent629705ad53ceac1bcc5f32f2d7ef51d7626aefef (diff)
downloaddexon-b91b581b80ec99dfa07b7206104faa919210fc4f.tar
dexon-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.gz
dexon-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.bz2
dexon-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.lz
dexon-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.xz
dexon-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.zst
dexon-b91b581b80ec99dfa07b7206104faa919210fc4f.zip
eth, eth/fetcher: propagate after header verify, announce only on insert
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index c621fa260..37fe66abf 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -313,7 +313,7 @@ func New(config *Config) (*Ethereum, error) {
eth.blockProcessor = core.NewBlockProcessor(stateDb, extraDb, eth.pow, eth.chainManager, eth.EventMux())
eth.chainManager.SetProcessor(eth.blockProcessor)
- eth.protocolManager = NewProtocolManager(config.ProtocolVersion, config.NetworkId, eth.eventMux, eth.txPool, eth.chainManager)
+ eth.protocolManager = NewProtocolManager(config.ProtocolVersion, config.NetworkId, eth.eventMux, eth.txPool, eth.pow, eth.chainManager)
eth.miner = miner.New(eth, eth.EventMux(), eth.pow)
eth.miner.SetGasPrice(config.GasPrice)