Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix spelling mistake perriod -> period #1626

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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