mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-05 02:45:02 +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() {
|
||||
logger.Infoln("Stopping...")
|
||||
self.quitChan <- true
|
||||
self.powQuitChan <- ethutil.React{}
|
||||
|
||||
close(self.powQuitChan)
|
||||
close(self.quitChan)
|
||||
}
|
||||
|
||||
func (self *Miner) mineNewBlock() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue