Commit 2bbc2043 authored by obscuren's avatar obscuren

Close pow chat. Fixes #95

parent 92693e44
......@@ -130,7 +130,9 @@ out:
func (self *Miner) Stop() {
logger.Infoln("Stopping...")
self.quitChan <- true
self.powQuitChan <- ethutil.React{}
close(self.powQuitChan)
close(self.quitChan)
}
func (self *Miner) mineNewBlock() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment