mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
consensus: dont allow peer round states to decrease
This commit is contained in:
@ -1134,7 +1134,7 @@ func (cs *ConsensusState) enterCommit(height int, commitRound int) {
|
||||
|
||||
defer func() {
|
||||
// Done enterCommit:
|
||||
// keep ca.Round the same, it points to the right Precommits set.
|
||||
// keep cs.Round the same, commitRound points to the right Precommits set.
|
||||
cs.updateRoundStep(cs.Round, RoundStepCommit)
|
||||
cs.CommitRound = commitRound
|
||||
cs.newStep()
|
||||
|
Reference in New Issue
Block a user