Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 74e2559

Browse files
authored
fix: typos in stake-pool comments and output messages (#7516)
* Typo * Typo
1 parent d8c33c7 commit 74e2559

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stake-pool/cli/src/output.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl VerboseDisplay for CliStakePool {
116116
match &self.preferred_withdraw_validator_vote_address {
117117
None => {}
118118
Some(s) => {
119-
writeln!(w, "Preferred Withraw Validator: {}", s)?;
119+
writeln!(w, "Preferred Withdraw Validator: {}", s)?;
120120
}
121121
}
122122
writeln!(w, "Epoch Fee: {} of epoch rewards", &self.epoch_fee)?;
@@ -197,7 +197,7 @@ impl Display for CliStakePool {
197197
match &self.preferred_withdraw_validator_vote_address {
198198
None => {}
199199
Some(s) => {
200-
writeln!(f, "Preferred Withraw Validator: {}", s)?;
200+
writeln!(f, "Preferred Withdraw Validator: {}", s)?;
201201
}
202202
}
203203
writeln!(f, "Epoch Fee: {} of epoch rewards", &self.epoch_fee)?;

stake-pool/py/stake_pool/instructions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class WithdrawStakeParams(NamedTuple):
368368
validator_stake: Pubkey
369369
"""`[w]` Validator or reserve stake account to split"""
370370
destination_stake: Pubkey
371-
"""`[w]` Unitialized stake account to receive withdrawal"""
371+
"""`[w]` Uninitialized stake account to receive withdrawal"""
372372
destination_stake_authority: Pubkey
373373
"""`[]` User account to set as a new withdraw authority"""
374374
source_transfer_authority: Pubkey

0 commit comments

Comments
 (0)