diff --git a/miner/worker.go b/miner/worker.go index 29b997230c33..2917d5af7c9e 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -397,7 +397,7 @@ func (w *worker) newWorkLoop(recommit time.Duration) { case head := <-w.chainHeadCh: clearPending(head.Block.NumberU64()) timestamp = time.Now().Unix() - commit(false, commitInterruptNewHead) + commit(true, commitInterruptNewHead) case <-timer.C: // If mining is running resubmit a new work cycle periodically to pull in