diff options
Diffstat (limited to 'miner/worker.go')
-rw-r--r-- | miner/worker.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go index bf24970f5..c1f848e32 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -269,6 +269,11 @@ func (self *worker) update() { self.current.commitTransactions(self.mux, txset, self.chain, self.coinbase) self.currentMu.Unlock() + } else { + // If we're mining, but nothing is being processed, wake on new transactions + if self.config.Clique != nil && self.config.Clique.Period == 0 { + self.commitNewWork() + } } // System stopped |