Skip to content

Commit

Permalink
chore: fix spelling mistake perriod -> period (#1626)
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML authored Jan 9, 2025
1 parent 01a93a0 commit f3e2e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions light-client/src/consensus/consensus_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ impl<R: ConsensusRpc> ConsensusLightClient<R> {
// If we are using the portal network, we need to request updates for all periods one by one
if &self.rpc.name() == "portal" {
// Get expected current period
let current_perriod = calc_sync_period(expected_current_slot());
let current_period = calc_sync_period(expected_current_slot());

// Create a range of periods to request updates for
let periods = bootstrap_period..current_perriod;
let periods = bootstrap_period..current_period;

for period in periods {
let mut period_update = self.rpc.get_updates(period, 1).await?;
Expand Down

0 comments on commit f3e2e80

Please sign in to comment.