From 5081560afeefd58878f6bb12a2b91ec78ef6e31c Mon Sep 17 00:00:00 2001 From: Hellblazer Date: Sat, 25 May 2024 17:05:36 -0700 Subject: [PATCH] correct iteration count :) --- .../src/main/java/com/salesforce/apollo/ring/RingIterator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memberships/src/main/java/com/salesforce/apollo/ring/RingIterator.java b/memberships/src/main/java/com/salesforce/apollo/ring/RingIterator.java index e001200e5..338564441 100644 --- a/memberships/src/main/java/com/salesforce/apollo/ring/RingIterator.java +++ b/memberships/src/main/java/com/salesforce/apollo/ring/RingIterator.java @@ -37,7 +37,7 @@ public class RingIterator 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 context, SigningMember member, CommonCommunications comm, boolean ignoreSelf, ScheduledExecutorService scheduler) {