miner: remove ineff assign (lint)

Signed-off-by: meows <b5c6@protonmail.com>
This commit is contained in:
meows
2020-10-02 16:28:20 -05:00
parent e299fa75ad
commit 2d7fd86a1e

View File

@ -106,7 +106,6 @@ 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()