Feature cleanup (#19528)
This commit is contained in:
@@ -321,9 +321,7 @@ pub fn process_instruction(
|
||||
|
||||
let me = &mut keyed_account_at_index(keyed_accounts, 0)?;
|
||||
|
||||
if invoke_context.is_feature_active(&feature_set::check_program_owner::id())
|
||||
&& me.owner()? != id()
|
||||
{
|
||||
if me.owner()? != id() {
|
||||
return Err(InstructionError::InvalidAccountOwner);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user