Skip to content

Commit

Permalink
Revert "spec: initial round from -1 to 0"
Browse files Browse the repository at this point in the history
This reverts commit 9ab2c7f.
  • Loading branch information
hvanz committed Dec 13, 2023
1 parent 3f92ddc commit 2520d4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Specs/Quint/consensus.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ module consensus {

pure def initConsensusState(p: Address, h: Height) : ConsensusState = {
p: p,
round: 0, // line 3
// round must be -1, as nothing should be done before a NewRound
// function is called
round: -1,
step: NoStep,
height: h,
lockedRound: -1,
Expand Down

0 comments on commit 2520d4c

Please sign in to comment.