Skip to content

Commit

Permalink
flip future polling views
Browse files Browse the repository at this point in the history
  • Loading branch information
elliedavidson committed Dec 14, 2023
1 parent ecd5b38 commit 34c0641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/task-impls/src/view_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,9 @@ impl<
let subscribe_view = if self.membership.get_leader(TYPES::Time::new(next_view))
== self.public_key
{
next_view
} else {
next_view + 1
} else {
next_view
};
// Subscribe to the next view just in case there is progress being made
self.network
Expand Down

0 comments on commit 34c0641

Please sign in to comment.