From 09adf644e020caf1c392fbe0fc990ed7da8c7317 Mon Sep 17 00:00:00 2001 From: Isaac Frank Date: Sat, 13 Jan 2024 23:56:11 +0100 Subject: [PATCH] Fix misleading InstructionNotSupported error message. --- programs/token-metadata/program/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/token-metadata/program/src/error.rs b/programs/token-metadata/program/src/error.rs index 040b17b6..37ac6fe8 100644 --- a/programs/token-metadata/program/src/error.rs +++ b/programs/token-metadata/program/src/error.rs @@ -601,7 +601,7 @@ pub enum MetadataError { InvalidTransferAuthority, /// 153 - #[error("Instruction not supported for ProgrammableNonFungible assets")] + #[error("Instruction not supported for ProgrammableNonFungible or Token2022 assets")] InstructionNotSupported, /// 154