aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-21 00:42:25 +0800
committerobscuren <geffobscura@gmail.com>2015-03-21 00:42:25 +0800
commit1821d1af48e5fa11eb81fe7f6e5372737bb36ec9 (patch)
treed534f2059f6c14ac7f2dd1ab9996ef0cd4c34b95 /eth/backend.go
parenta59bb053f4d2a4a28341c645c051c4c323581a1b (diff)
parent66b29899c474abeab6c66060c9ea5bbff85b9efb (diff)
downloaddexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.gz
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.bz2
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.lz
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.xz
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.zst
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.zip
Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index afe314d74..141c6c605 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -195,7 +195,8 @@ func New(config *Config) (*Ethereum, error) {
hasBlock := eth.chainManager.HasBlock
insertChain := eth.chainManager.InsertChain
- eth.blockPool = blockpool.New(hasBlock, insertChain, eth.pow.Verify)
+ td := eth.chainManager.Td()
+ eth.blockPool = blockpool.New(hasBlock, insertChain, eth.pow.Verify, eth.EventMux(), td)
netprv, err := config.nodeKey()
if err != nil {