Skip to content

Commit 2efabf1

Browse files
committed
i hate spellcheck these are FINE
1 parent 8c72310 commit 2efabf1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

program/src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub enum SinglePoolError {
5656
/// Not enough stake to cover the provided quantity of pool tokens.
5757
/// This typically means the value exists in the pool as activating stake,
5858
/// and an epoch is required for it to become available. Otherwise, it means
59-
/// active stake in the onramp must be moved via `ReplenishPool`.
59+
/// active stake in the on-ramp must be moved via `ReplenishPool`.
6060
#[error("WithdrawalTooLarge")]
6161
WithdrawalTooLarge,
6262
/// Required signature is missing.
@@ -170,7 +170,7 @@ impl ToStr for SinglePoolError {
170170
is in an exceptional state, or because the on-ramp account should be refreshed.",
171171
SinglePoolError::WithdrawalViolatesPoolRequirements =>
172172
"Error: Withdrawal would render the pool stake account impossible to redelegate. \
173-
This can only occur if the Stake Program minimum delegation increases above 1sol.",
173+
This can only occur if the Stake Program minimum delegation increases above 1 sol.",
174174
}
175175
}
176176
}

0 commit comments

Comments
 (0)