From e97959b7aa9119eafef6de2e4ffbb21ef5dd7f4d Mon Sep 17 00:00:00 2001 From: Blockiosaurus Date: Tue, 10 Dec 2024 10:26:39 -0500 Subject: [PATCH] Fixing wrong call. --- programs/mpl-core/src/processor/update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {