Skip to content

Commit

Permalink
chore: fix spelling mistake perriod -> period
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed Jan 8, 2025
1 parent cb8ad72 commit 7c11046
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 7c11046

Please sign in to comment.