We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c266001 commit 6a07fccCopy full SHA for 6a07fcc
miner/worker.go
@@ -450,6 +450,11 @@ func (w *worker) newWorkLoop(recommit time.Duration) {
450
if !w.isRunning() {
451
continue
452
}
453
+ if interruptCh != nil {
454
+ interruptCh <- commitInterruptNewHead
455
+ close(interruptCh)
456
+ interruptCh = nil
457
+ }
458
clearPending(head.Header.Number.Uint64())
459
timestamp = time.Now().Unix()
460
if p, ok := w.engine.(*parlia.Parlia); ok {
0 commit comments