diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-15 20:05:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-15 20:05:15 +0800 |
commit | 7bf2ae0b116fff0fede5b1455c5fda20caf98252 (patch) | |
tree | 3a982f8fb8ee376ef2a55e8188923afc19442203 /ethminer/miner.go | |
parent | 2734fc407959c0723889aabb20f0e0f1a49e490f (diff) | |
download | dexon-7bf2ae0b116fff0fede5b1455c5fda20caf98252.tar.gz dexon-7bf2ae0b116fff0fede5b1455c5fda20caf98252.tar.zst dexon-7bf2ae0b116fff0fede5b1455c5fda20caf98252.zip |
Removed old tx pool notification system. Fixes #19
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r-- | ethminer/miner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index 3796c873e..f1d0caae9 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -26,7 +26,7 @@ func NewDefaultMiner(coinbase []byte, ethereum ethchain.EthManager) Miner { quitChan := make(chan ethutil.React, 1) // This is the channel that can exit the miner thread ethereum.Reactor().Subscribe("newBlock", reactChan) - ethereum.Reactor().Subscribe("newTx", reactChan) + ethereum.Reactor().Subscribe("newTx:post", reactChan) // We need the quit chan to be a Reactor event. // The POW search method is actually blocking and if we don't @@ -34,7 +34,7 @@ func NewDefaultMiner(coinbase []byte, ethereum ethchain.EthManager) Miner { // The miner overseer will never get the reactor events themselves // Only after the miner will find the sha ethereum.Reactor().Subscribe("newBlock", quitChan) - ethereum.Reactor().Subscribe("newTx", quitChan) + ethereum.Reactor().Subscribe("newTx:post", quitChan) miner := Miner{ pow: ðchain.EasyPow{}, |