mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
fix: revert block-on-demand (and use constant block time for clique) (#193)
revert block-on-demand
This commit is contained in:
parent
78c1f57fcf
commit
5ca70bf3a2
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ func (w *worker) newWorkLoop(recommit time.Duration) {
|
|||
case head := <-w.chainHeadCh:
|
||||
clearPending(head.Block.NumberU64())
|
||||
timestamp = time.Now().Unix()
|
||||
commit(true, commitInterruptNewHead)
|
||||
commit(false, commitInterruptNewHead)
|
||||
|
||||
case <-timer.C:
|
||||
// If mining is running resubmit a new work cycle periodically to pull in
|
||||
|
|
|
|||
Loading…
Reference in a new issue