Skip to content

Commit

Permalink
Fixing wrong call.
Browse files Browse the repository at this point in the history
  • Loading branch information
blockiosaurus committed Dec 10, 2024
1 parent 8c3e9d9 commit e97959b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/mpl-core/src/processor/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn update<'a>(

// Get a set of all the plugins on the collection (if any).
let plugin_set: HashSet<_> =
if new_collection_account.data_len() > new_collection.get_size() {
if new_collection_account.data_len() > new_collection.len() {
let plugin_list = list_plugins::<CollectionV1>(new_collection_account)?;
plugin_list.into_iter().collect()
} else {
Expand Down

0 comments on commit e97959b

Please sign in to comment.