aboutsummaryrefslogtreecommitdiff
path: root/miner
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-10-21 16:07:47 -0400
committerDeterminant <[email protected]>2019-10-21 16:07:47 -0400
commit7212dbd90f4cb8fe907617f804c8940db1ce657e (patch)
treea80485085a7c30e2bb06cc64081a1effcffd2204 /miner
parent79b1169a9ff0b54ddf3b520a70a79c78ba5c988d (diff)
fix the pool reset bug
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go2
1 files changed, 0 insertions, 2 deletions
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)
}