miner: go fmt

This commit is contained in:
rjl493456442 2018-08-23 20:41:24 +08:00
parent 9b8c8c954d
commit e3b4076376

View file

@ -328,7 +328,7 @@ func (w *worker) newWorkLoop(recommit time.Duration) {
clearPending := func(number uint64) { clearPending := func(number uint64) {
w.pendingMu.Lock() w.pendingMu.Lock()
for h, t := range w.pendingTasks { for h, t := range w.pendingTasks {
if t.block.NumberU64() + staleThreshold <= number { if t.block.NumberU64()+staleThreshold <= number {
delete(w.pendingTasks, h) delete(w.pendingTasks, h)
} }
} }