Updated peers

This commit is contained in:
obscuren
2014-01-24 17:48:21 +01:00
parent 233f5200ef
commit 1b7cba1878
2 changed files with 9 additions and 9 deletions

View File

@ -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