aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index db66c3ce7..74e47d7bf 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -60,7 +60,7 @@ func New() (*Ethereum, error) {
}
ethereum.TxPool = ethchain.NewTxPool()
ethereum.TxPool.Speaker = ethereum
- ethereum.BlockManager = ethchain.NewBlockManager()
+ ethereum.BlockManager = ethchain.NewBlockManager(ethereum)
ethereum.TxPool.BlockManager = ethereum.BlockManager
ethereum.BlockManager.TransactionPool = ethereum.TxPool