mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 17:43:48 +00:00
Revert "miner: remove ineff assign (lint)"
This reverts commit eaefcd34ab4862ebc936fb8a07578aa2744bc058.
This commit is contained in:
parent
6addca7586
commit
8100b35d9b
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ func (miner *Miner) update() {
|
|||
log.Info("Mining aborted due to sync")
|
||||
}
|
||||
case downloader.DoneEvent, downloader.FailedEvent:
|
||||
canStart = true
|
||||
if shouldStart {
|
||||
miner.SetEtherbase(miner.coinbase)
|
||||
miner.worker.start()
|
||||
|
|
|
|||
Loading…
Reference in a new issue