Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b879685

Browse files
committedDec 6, 2024
Fix comments and semicolon
1 parent f914672 commit b879685

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
 

‎token/program-2022/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ impl PrintProgramError for TokenError {
463463
msg!("Invalid scale for scaled ui amount")
464464
}
465465
TokenError::MintPaused => {
466-
msg!("Transferring, minting, and burning is paused on this mint");
466+
msg!("Transferring, minting, and burning is paused on this mint")
467467
}
468468
}
469469
}

‎token/program-2022/src/extension/confidential_transfer/instruction.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ pub enum ConfidentialTransferInstruction {
183183
/// Fails if the source or destination accounts are frozen.
184184
/// Fails if the associated mint is extended as `NonTransferable`.
185185
/// Fails if the associated mint is extended as `ConfidentialMintBurn`.
186+
/// Fails if the associated mint is paused with the `Pausable` extension.
186187
///
187188
/// Accounts expected by this instruction:
188189
///
@@ -219,6 +220,7 @@ pub enum ConfidentialTransferInstruction {
219220
/// Fails if the source or destination accounts are frozen.
220221
/// Fails if the associated mint is extended as `NonTransferable`.
221222
/// Fails if the associated mint is extended as `ConfidentialMintBurn`.
223+
/// Fails if the associated mint is paused with the `Pausable` extension.
222224
///
223225
/// Accounts expected by this instruction:
224226
///

‎token/program-2022/src/extension/pausable/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn process_initialize(
3737
Ok(())
3838
}
3939

40-
/// Pause minting / burning / transferring on the mint
40+
/// Pause or resume minting / burning / transferring on the mint
4141
fn process_toggle_pause(
4242
program_id: &Pubkey,
4343
accounts: &[AccountInfo],

0 commit comments

Comments
 (0)
This repository has been archived.