Skip to content

Commit

Permalink
Update spec/informal-spec/types.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Konnov <[email protected]>
  • Loading branch information
brunoffranca and konnov authored Jul 8, 2024
1 parent c5ff3a1 commit 6b73a47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/informal-spec/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ impl SignedTimeoutVote {
// If we wish, there are two invariants that are easy to check but aren't required for correctness:
// self.view() >= self.high_vote.view() && self.high_vote.view() >= self.high_commit_qc_view
self.vote.high_commit_qc_view == self.high_commit_qc.map(|x| x.view()) && self.verify_sig()
&& self.high_commit_qc.map(|qc| qc.verify())
}
}

Expand Down

0 comments on commit 6b73a47

Please sign in to comment.