Skip to content

Commit

Permalink
consensus/parlia: modify delay
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBSC committed Jun 28, 2024
1 parent 4d2d720 commit 5be96a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ func (p *Parlia) Delay(chain consensus.ChainReader, header *types.Header, leftOv
// set the value of timeForMining to a small amount
timeForMining = 500 * time.Millisecond
} else {
timeForMining = time.Duration(p.config.Period)*time.Second - 200*time.Millisecond
timeForMining = time.Duration(p.config.Period) * time.Second
}
}
if delay > timeForMining {
Expand Down

0 comments on commit 5be96a5

Please sign in to comment.