diff --git a/programs/mmm/src/instructions/mpl_core_asset/mpl_core_wrap.rs b/programs/mmm/src/instructions/mpl_core_asset/mpl_core_wrap.rs index 0ebb92d..5faf41e 100644 --- a/programs/mmm/src/instructions/mpl_core_asset/mpl_core_wrap.rs +++ b/programs/mmm/src/instructions/mpl_core_asset/mpl_core_wrap.rs @@ -9,11 +9,9 @@ use std::ops::Deref; use crate::errors::MMMErrorCode; -pub const CORE_DENY_LIST: [PluginType; 6] = [ +pub const CORE_DENY_LIST: [PluginType; 4] = [ PluginType::FreezeDelegate, PluginType::BurnDelegate, - PluginType::TransferDelegate, - PluginType::PermanentFreezeDelegate, PluginType::PermanentTransferDelegate, PluginType::PermanentBurnDelegate, ]; diff --git a/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_buy.rs b/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_buy.rs index 9f63e07..69bdb7e 100644 --- a/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_buy.rs +++ b/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_buy.rs @@ -4,7 +4,6 @@ use solana_program::program::invoke; use std::convert::TryFrom; use crate::{ - assert_valid_core_plugins, constants::*, deserialize_collection_asset, errors::MMMErrorCode, @@ -110,7 +109,6 @@ pub fn handler<'info>( let collection = &ctx.accounts.collection; let remaining_accounts = ctx.remaining_accounts; - assert_valid_core_plugins(asset)?; let _ = check_allowlists_for_mpl_core(&pool.allowlists, asset, args.allowlist_aux)?; let (total_price, next_price) = get_sol_total_price_and_next_price(pool, 1, true)?; diff --git a/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_sell.rs b/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_sell.rs index 6e86613..feea84b 100644 --- a/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_sell.rs +++ b/programs/mmm/src/instructions/mpl_core_asset/sol_mpl_core_fulfill_sell.rs @@ -4,7 +4,6 @@ use solana_program::program::invoke_signed; use std::convert::TryFrom; use crate::{ - assert_valid_core_plugins, constants::*, deserialize_collection_asset, errors::MMMErrorCode, @@ -105,7 +104,6 @@ pub fn handler<'info>( ]]; let collection = &ctx.accounts.collection; - assert_valid_core_plugins(asset)?; let _ = check_allowlists_for_mpl_core(&pool.allowlists, asset, args.allowlist_aux)?; let PoolPriceInfo {