aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-08-08 17:15:08 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-10 14:06:59 +0800
commitf0998415ba9a73f0add32f9b5aed2aec98b9a7f3 (patch)
treef85ad72f6213fc953b3174378d7c7443cc1d1dd5 /les
parent00e6da9704b2cd7ddcc1cd31ed3f6bbaa8e1e284 (diff)
downloadgo-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.tar
go-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.tar.gz
go-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.tar.bz2
go-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.tar.lz
go-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.tar.xz
go-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.tar.zst
go-tangerine-f0998415ba9a73f0add32f9b5aed2aec98b9a7f3.zip
cmd, consensus/ethash, eth: miner push notifications
Diffstat (limited to 'les')
-rw-r--r--les/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/backend.go b/les/backend.go
index 952d92cc2..178bc1e0e 100644
--- a/les/backend.go
+++ b/les/backend.go
@@ -102,7 +102,7 @@ func New(ctx *node.ServiceContext, config *eth.Config) (*LightEthereum, error) {
peers: peers,
reqDist: newRequestDistributor(peers, quitSync),
accountManager: ctx.AccountManager,
- engine: eth.CreateConsensusEngine(ctx, &config.Ethash, chainConfig, chainDb),
+ engine: eth.CreateConsensusEngine(ctx, chainConfig, &config.Ethash, nil, chainDb),
shutdownChan: make(chan bool),
networkId: config.NetworkId,
bloomRequests: make(chan chan *bloombits.Retrieval),