diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-18 23:00:19 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-18 23:00:19 +0800 |
commit | b91b581b80ec99dfa07b7206104faa919210fc4f (patch) | |
tree | db9e452976af523e192c454148956cb15872fe9f /eth/backend.go | |
parent | 629705ad53ceac1bcc5f32f2d7ef51d7626aefef (diff) | |
download | go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.tar go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.gz go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.bz2 go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.lz go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.xz go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.tar.zst go-tangerine-b91b581b80ec99dfa07b7206104faa919210fc4f.zip |
eth, eth/fetcher: propagate after header verify, announce only on insert
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 2 |
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) |