mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-18 13:59:26 +00:00
Close pow chat. Fixes #95
This commit is contained in:
parent
92693e4459
commit
2bbc204328
1 changed files with 3 additions and 1 deletions
|
|
@ -130,7 +130,9 @@ out:
|
||||||
func (self *Miner) Stop() {
|
func (self *Miner) Stop() {
|
||||||
logger.Infoln("Stopping...")
|
logger.Infoln("Stopping...")
|
||||||
self.quitChan <- true
|
self.quitChan <- true
|
||||||
self.powQuitChan <- ethutil.React{}
|
|
||||||
|
close(self.powQuitChan)
|
||||||
|
close(self.quitChan)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *Miner) mineNewBlock() {
|
func (self *Miner) mineNewBlock() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue