diff --git a/miner/worker.go b/miner/worker.go index 9799a11089..a0f7b1739e 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -448,6 +448,10 @@ func (w *worker) newWorkLoop(recommit time.Duration) { commit(false, commitInterruptNewHead) case <-timer.C: + if w.chainConfig.Consortium != nil { + continue + } + // If mining is running resubmit a new work cycle periodically to pull in // higher priced transactions. Disable this overhead for pending blocks. if w.isRunning() && (w.chainConfig.Clique == nil || w.chainConfig.Clique.Period > 0) { @@ -513,6 +517,10 @@ func (w *worker) mainLoop() { w.commitNewWork(req.interrupt, req.noempty, req.timestamp) case ev := <-w.chainSideCh: + // Don't handle uncle logic in Consortium + if w.chainConfig.Consortium != nil { + continue + } // Short circuit for duplicate side blocks if _, exist := w.localUncles[ev.Block.Hash()]; exist { continue