Skip to content

Commit f3e2e80

Browse files
authored
chore: fix spelling mistake perriod -> period (#1626)
1 parent 01a93a0 commit f3e2e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

light-client/src/consensus/consensus_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ impl<R: ConsensusRpc> ConsensusLightClient<R> {
119119
// If we are using the portal network, we need to request updates for all periods one by one
120120
if &self.rpc.name() == "portal" {
121121
// Get expected current period
122-
let current_perriod = calc_sync_period(expected_current_slot());
122+
let current_period = calc_sync_period(expected_current_slot());
123123

124124
// Create a range of periods to request updates for
125-
let periods = bootstrap_period..current_perriod;
125+
let periods = bootstrap_period..current_period;
126126

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

0 commit comments

Comments
 (0)