mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-15 06:08:35 +00:00
Revert "miner: exit loop when downloader Done or Failed"
This reverts commit 23abd34265aa246c38fc390bb72572ad6ae9fe3b.
This commit is contained in:
parent
8100b35d9b
commit
5ccaeb7709
1 changed files with 0 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue