From 7212dbd90f4cb8fe907617f804c8940db1ce657e Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 21 Oct 2019 16:07:47 -0400 Subject: fix the pool reset bug --- miner/worker.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'miner') diff --git a/miner/worker.go b/miner/worker.go index fd8d754..19234ee 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -979,7 +979,6 @@ func (w *worker) commitNewWork(interrupt *int32, noempty bool, timestamp int64) if !noempty && !w.manualMining { // Create an empty block based on temporary copied state for sealing in advance without waiting block // execution finished. - log.Trace("commit n1") w.commit(uncles, nil, false, tstart) } @@ -1014,7 +1013,6 @@ func (w *worker) commitNewWork(interrupt *int32, noempty bool, timestamp int64) return } } - log.Trace("commit n2") w.commit(uncles, w.fullTaskHook, true, tstart) } -- cgit v1.2.3