Revert "miner: exit loop when downloader Done or Failed"
This reverts commit 23abd34265aa246c38fc390bb72572ad6ae9fe3b.
This commit is contained in:
@ -111,8 +111,6 @@ func (miner *Miner) update() {
|
|||||||
miner.SetEtherbase(miner.coinbase)
|
miner.SetEtherbase(miner.coinbase)
|
||||||
miner.worker.start()
|
miner.worker.start()
|
||||||
}
|
}
|
||||||
// stop immediately and ignore all further pending events
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
case addr := <-miner.startCh:
|
case addr := <-miner.startCh:
|
||||||
if canStart {
|
if canStart {
|
||||||
|
Reference in New Issue
Block a user