Skip to content

Commit

Permalink
do not propose for previous round if leader
Browse files Browse the repository at this point in the history
  • Loading branch information
akichidis committed Dec 15, 2023
1 parent 8a991a0 commit 313e144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysticeti-core/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl<H: BlockHandler> Core<H> {
let round = self.threshold_clock.get_round();
let mut final_block = None;

for clock_round in round.saturating_sub(1)..=round {
for clock_round in round..=round {
if clock_round <= self.last_proposed() {
continue;
}
Expand Down

0 comments on commit 313e144

Please sign in to comment.