Skip to content

Commit 8274fdb

Browse files
committed
feat(worker): allow empty blocks
1 parent 054bbd2 commit 8274fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miner/worker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ func (w *worker) newWorkLoop(recommit time.Duration) {
480480
timer.Reset(recommit)
481481
continue
482482
}
483-
commit(true, commitInterruptResubmit)
483+
commit(false, commitInterruptResubmit)
484484
}
485485

486486
case interval := <-w.resubmitIntervalCh:

0 commit comments

Comments
 (0)