Skip to content

Commit

Permalink
correct iteration count :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed May 26, 2024
1 parent da25cc0 commit 5081560
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class RingIterator<T extends Member, Comm extends Link> extends RingCommu
private final ScheduledExecutorService scheduler;
private volatile boolean majorityFailed = false;
private volatile boolean majoritySucceed = false;
private volatile int iteration = -1;
private volatile int iteration = 0;

public RingIterator(Duration frequency, Context<T> context, SigningMember member,
CommonCommunications<Comm, ?> comm, boolean ignoreSelf, ScheduledExecutorService scheduler) {
Expand Down

0 comments on commit 5081560

Please sign in to comment.