diff --git a/programs/mmm/src/errors.rs b/programs/mmm/src/errors.rs index e5a8fc8..2f18e73 100644 --- a/programs/mmm/src/errors.rs +++ b/programs/mmm/src/errors.rs @@ -67,5 +67,7 @@ pub enum MMMErrorCode { #[msg("Invalid token member extensions")] InvalidTokenMemberExtension, // 0x178f #[msg("Invalid asset collection")] - InvalidAssetCollection, + InvalidAssetCollection, // 0x1790 + #[msg("Invalid token extension")] + InvalidTokenExtension, // 0x1791 } diff --git a/programs/mmm/src/util.rs b/programs/mmm/src/util.rs index 1d9985f..1e50b39 100644 --- a/programs/mmm/src/util.rs +++ b/programs/mmm/src/util.rs @@ -716,7 +716,7 @@ pub fn assert_valid_extension(mint_deserialized: &StateWithExtensions