From a89c88e9c1b9022ae608ae75431708874cc41d0e Mon Sep 17 00:00:00 2001 From: Jin Date: Tue, 20 Feb 2024 21:35:23 +0800 Subject: [PATCH] BUG:CPUMiningGenerate error --- services/miner/miner.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/miner/miner.go b/services/miner/miner.go index b5319ddc..4daa25f6 100644 --- a/services/miner/miner.go +++ b/services/miner/miner.go @@ -358,11 +358,6 @@ out: } if m.updateBlockTemplate(true) == nil { m.worker.Update() - } else { - if msg.block != nil { - close(msg.block) - msg.block = nil - } } continue }