Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
fix: typos in stake-pool comments and output messages (#7516)
Browse files Browse the repository at this point in the history
* Typo

* Typo
  • Loading branch information
intls authored Nov 22, 2024
1 parent d8c33c7 commit 74e2559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stake-pool/cli/src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl VerboseDisplay for CliStakePool {
match &self.preferred_withdraw_validator_vote_address {
None => {}
Some(s) => {
writeln!(w, "Preferred Withraw Validator: {}", s)?;
writeln!(w, "Preferred Withdraw Validator: {}", s)?;
}
}
writeln!(w, "Epoch Fee: {} of epoch rewards", &self.epoch_fee)?;
Expand Down Expand Up @@ -197,7 +197,7 @@ impl Display for CliStakePool {
match &self.preferred_withdraw_validator_vote_address {
None => {}
Some(s) => {
writeln!(f, "Preferred Withraw Validator: {}", s)?;
writeln!(f, "Preferred Withdraw Validator: {}", s)?;
}
}
writeln!(f, "Epoch Fee: {} of epoch rewards", &self.epoch_fee)?;
Expand Down
2 changes: 1 addition & 1 deletion stake-pool/py/stake_pool/instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class WithdrawStakeParams(NamedTuple):
validator_stake: Pubkey
"""`[w]` Validator or reserve stake account to split"""
destination_stake: Pubkey
"""`[w]` Unitialized stake account to receive withdrawal"""
"""`[w]` Uninitialized stake account to receive withdrawal"""
destination_stake_authority: Pubkey
"""`[]` User account to set as a new withdraw authority"""
source_transfer_authority: Pubkey
Expand Down

0 comments on commit 74e2559

Please sign in to comment.