Revert "miner: remove ineff assign (lint)"

This reverts commit eaefcd34ab4862ebc936fb8a07578aa2744bc058.
This commit is contained in:
meows
2020-10-05 08:22:39 -05:00
parent 6addca7586
commit 8100b35d9b

View File

@ -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()