diff --git a/miner/worker.go b/miner/worker.go index f13bd0648b3e..2039b6d31c9f 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -260,11 +260,12 @@ func newWorker(config *Config, chainConfig *params.ChainConfig, engine consensus recommit = minRecommitInterval } - worker.wg.Add(4) + worker.wg.Add(2) go worker.mainLoop() go worker.newWorkLoop(recommit) if !flashbots.isFlashbots { // only mine if not flashbots + worker.wg.Add(2) go worker.resultLoop() go worker.taskLoop() }