Skip to content

Commit

Permalink
fix: don't try to propose a batch when we're not yet synced
Browse files Browse the repository at this point in the history
  • Loading branch information
joske committed Feb 14, 2024
1 parent 49c9607 commit d15de73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/bft/src/bft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ impl<N: Network> BFT<N> {
// Update to the next round in storage.
if let Err(e) = self.storage().increment_to_next_round(current_round) {
warn!("BFT failed to increment to the next round from round {current_round} - {e}");
return false;
}
// Update the timer for the leader certificate.
self.leader_certificate_timer.store(now(), Ordering::SeqCst);
Expand Down

0 comments on commit d15de73

Please sign in to comment.