febo 9 месяцев назад
Родитель
Сommit
8263275749
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      p-token/src/processor/mod.rs

+ 1 - 1
p-token/src/processor/mod.rs

@@ -102,7 +102,7 @@ fn validate_owner(
         return Err(TokenError::OwnerMismatch.into());
     }
 
-    if owner_account_info.data_len() == Multisig::LEN && &crate::ID != owner_account_info.owner() {
+    if owner_account_info.data_len() == Multisig::LEN && &crate::ID == owner_account_info.owner() {
         let multisig = unsafe { load::<Multisig>(owner_account_info.borrow_data_unchecked())? };
 
         let mut num_signers = 0;