diff --git a/miner/worker.go b/miner/worker.go index 2917d5af7c..524af36e6f 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1038,6 +1038,12 @@ func (w *worker) commitNewWork(interrupt *int32, noempty bool, timestamp int64) return } } + + // do not produce empty blocks + if w.current.tcount == 0 { + return + } + w.commit(uncles, w.fullTaskHook, true, tstart) }