Skip to content

Commit

Permalink
consensus: change get_nil_certificates to return only nil quorums
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Jan 17, 2024
1 parent 44503f8 commit 5e11483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/src/step_votes_reg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl CertInfoRegistry {
self.cert_list
.get(&iteration)
.map(|c| (c.nil, c.generator))
.filter(|(ci, _)| ci.has_votes())
.filter(|(ci, _)| ci.is_ready())
.map(|(ci, pk)| (ci.cert, pk)),
);
}
Expand Down

0 comments on commit 5e11483

Please sign in to comment.