Revert "miner: remove ineff assign (lint)"

This reverts commit eaefcd34ab4862ebc936fb8a07578aa2744bc058.
pull/21653/head
meows 4 years ago
parent 6addca7586
commit 8100b35d9b
No known key found for this signature in database
GPG Key ID: 5786AEA5C8D5A520
  1. 1
      miner/miner.go

@ -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…
Cancel
Save