From bbd466f881eb3d3291fd4b894b73cd92d171c5b4 Mon Sep 17 00:00:00 2001 From: raychu86 <14917648+raychu86@users.noreply.github.com> Date: Thu, 15 Feb 2024 16:01:12 -0800 Subject: [PATCH] fix comment --- ledger/src/advance.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"))?;