Skip to content

Commit 75c2976

Browse files
committed
typos
1 parent e39b5b2 commit 75c2976

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

program/src/processor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ impl Processor {
12171217
PERPETUAL_NEW_WARMUP_COOLDOWN_RATE_EPOCH,
12181218
);
12191219

1220-
// if fully inactuve, we split on lamports; otherwise, on all delegation.
1220+
// if fully inactive, we split on lamports; otherwise, on all delegation.
12211221
// the stake program works off delegation in this way *even* for a partially deactivated stake
12221222
if pool_stake_status == StakeActivationStatus::default() {
12231223
(
@@ -1252,7 +1252,7 @@ impl Processor {
12521252
return Err(SinglePoolError::WithdrawalTooLarge.into());
12531253
}
12541254

1255-
// this is theoretically impossible but we guard becuase would put the pool in an unrecoverable state
1255+
// this is theoretically impossible but we guard because it would put the pool in an unrecoverable state
12561256
if stake_to_withdraw == pool_stake_info.lamports() {
12571257
return Err(SinglePoolError::WithdrawalTooLarge.into());
12581258
}

0 commit comments

Comments
 (0)