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

Commit 78da184

Browse files
authored
chore: fix some comments (#6777)
Signed-off-by: jinjiadu <jinjiadu@aliyun.com>
1 parent 24a8209 commit 78da184

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

token/cli/src/clap_app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ pub fn app<'a, 'b>(
22962296
)
22972297
.subcommand(
22982298
SubCommand::with_name(CommandName::UpdateConfidentialTransferSettings.into())
2299-
.about("Update confidential transfer configuation for a token")
2299+
.about("Update confidential transfer configuration for a token")
23002300
.arg(
23012301
Arg::with_name("token")
23022302
.validator(is_valid_pubkey)

token/client/src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ where
402402
&self,
403403
_data_len: usize,
404404
) -> ProgramClientResult<u64> {
405-
Err("Unable to fetch minimum blance for rent exemption in offline mode".into())
405+
Err("Unable to fetch minimum balance for rent exemption in offline mode".into())
406406
}
407407

408408
async fn get_latest_blockhash(&self) -> ProgramClientResult<Hash> {

token/program-2022/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub fn check_program_account(spl_token_program_id: &Pubkey) -> ProgramResult {
107107
Ok(())
108108
}
109109

110-
/// Checks that the supplied program ID is corect for spl-token or
110+
/// Checks that the supplied program ID is correct for spl-token or
111111
/// spl-token-2022
112112
pub fn check_spl_token_program_account(spl_token_program_id: &Pubkey) -> ProgramResult {
113113
if spl_token_program_id != &id() && spl_token_program_id != &spl_token::id() {

0 commit comments

Comments
 (0)