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

Commit b60eb8f

Browse files
mvinesmergify[bot]
authored andcommitted
Add Transfer2/Approve2/MintTo2/Burn2 instructions for improved hardware wallet support
1 parent 2e6162a commit b60eb8f

File tree

3 files changed

+647
-14
lines changed

3 files changed

+647
-14
lines changed

token/program/src/error.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ pub enum TokenError {
6161
/// Account is frozen; all account operations will fail
6262
#[error("Account is frozen")]
6363
AccountFrozen,
64+
/// Mint decimals mismatch between the client and mint
65+
#[error("The provided decimals value different from the Mint decimals")]
66+
MintDecimalsMismatch,
6467
}
6568
impl From<TokenError> for ProgramError {
6669
fn from(e: TokenError) -> Self {

0 commit comments

Comments
 (0)