From 4d96806605ad9dc2792f46d3bf22d1d3cfa5b288 Mon Sep 17 00:00:00 2001 From: Michael Danenberg <56533526+danenbm@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:44:34 -0700 Subject: [PATCH] Remove feature gate --- programs/mpl-core/src/plugins/update_delegate.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/programs/mpl-core/src/plugins/update_delegate.rs b/programs/mpl-core/src/plugins/update_delegate.rs index 3cb798f4..c783c1ee 100644 --- a/programs/mpl-core/src/plugins/update_delegate.rs +++ b/programs/mpl-core/src/plugins/update_delegate.rs @@ -52,10 +52,6 @@ impl PluginValidation for UpdateDelegate { &self, ctx: &PluginValidationContext, ) -> Result { - if !self.additional_delegates.is_empty() { - return Err(MplCoreError::NotAvailable.into()); - } - if let Some(resolved_authorities) = ctx.resolved_authorities { if resolved_authorities.contains(ctx.self_authority) { return approve!();