diff --git a/programs/mpl-core/src/processor/update.rs b/programs/mpl-core/src/processor/update.rs index 2e1e6f31..6095da39 100644 --- a/programs/mpl-core/src/processor/update.rs +++ b/programs/mpl-core/src/processor/update.rs @@ -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::(new_collection_account)?; plugin_list.into_iter().collect() } else {