diff --git a/ledger/src/advance.rs b/ledger/src/advance.rs index 2dcd1d7ca9..1b2a7b9140 100644 --- a/ledger/src/advance.rs +++ b/ledger/src/advance.rs @@ -248,9 +248,10 @@ impl> Ledger { true => penultimate_round.saturating_sub(1), false => penultimate_round.saturating_sub(2), }; + // Get the previous committee lookback round. let penultimate_committee_lookback_round = previous_penultimate_round.saturating_sub(Committee::::COMMITTEE_LOOKBACK_RANGE); - // Retrieve the committee lookback. + // Retrieve the previous committee lookback. let previous_committee_lookback = self.get_committee_for_round(penultimate_committee_lookback_round)? .ok_or(anyhow!("Failed to fetch committee for round {penultimate_committee_lookback_round}"))?;