From 8100b35d9b5b1961c17714da78ca495f1e42f535 Mon Sep 17 00:00:00 2001 From: meows Date: Mon, 5 Oct 2020 08:22:39 -0500 Subject: [PATCH] Revert "miner: remove ineff assign (lint)" This reverts commit eaefcd34ab4862ebc936fb8a07578aa2744bc058. --- miner/miner.go | 1 + 1 file changed, 1 insertion(+) diff --git a/miner/miner.go b/miner/miner.go index 1deb8641af..4f8f76d4f9 100644 --- a/miner/miner.go +++ b/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()