Skip to content

Commit

Permalink
miner: remove ineff assign (lint)
Browse files Browse the repository at this point in the history
Signed-off-by: meows <b5c6@protonmail.com>
  • Loading branch information
meowsbits committed Oct 2, 2020
1 parent 23abd34 commit eaefcd3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,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()
Expand Down

0 comments on commit eaefcd3

Please sign in to comment.