diff --git a/clients/rust/src/hooked/plugins.rs b/clients/rust/src/hooked/plugins.rs index 41024072..dab93257 100644 --- a/clients/rust/src/hooked/plugins.rs +++ b/clients/rust/src/hooked/plugins.rs @@ -12,7 +12,7 @@ use crate::{ pub fn fetch_plugin( account: &AccountInfo, plugin_type: PluginType, -) -> Result<(Vec, U, usize), std::io::Error> { +) -> Result<(Authority, U, usize), std::io::Error> { let asset = T::load(account, 0)?; let header = PluginHeader::load(account, asset.get_size())?; @@ -50,7 +50,7 @@ pub fn fetch_plugin( // Return the plugin and its authorities. Ok(( - registry_record.authorities.clone(), + registry_record.authority.clone(), inner, registry_record.offset as usize, ))