File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments