Skip to content

Commit

Permalink
remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
daoplays committed May 4, 2024
1 parent 7e4d154 commit 25e93f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions programs/mpl-core/src/processor/update_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ use crate::{
UpdateCollectionPluginV1Accounts, UpdateCollectionPluginV2Accounts, UpdatePluginV1Accounts,
UpdatePluginV2Accounts,
},
plugins::{Attribute, Attributes, Plugin, PluginType, RegistryRecord},
plugins::{Plugin, PluginType, RegistryRecord},
state::{AssetV1, CollectionV1, DataBlob, Key, SolanaAccount},
utils::{
fetch_core_data, load_key, resize_or_reallocate_account, resolve_authority,
validate_asset_permissions, validate_collection_permissions,
load_key, resize_or_reallocate_account, resolve_authority, validate_asset_permissions,
validate_collection_permissions,
},
};

Expand Down Expand Up @@ -326,6 +326,7 @@ pub(crate) fn update_collection_plugin_v2<'a>(
args.plugin.unwrap()
};

msg!("plugin {:?}", plugin);
update_collection_plugin(accounts, UpdateCollectionPluginV1Args { plugin: plugin })?;

Ok(())
Expand Down

0 comments on commit 25e93f7

Please sign in to comment.