@ -133,8 +133,7 @@ pub fn verify_instruction(
|
|||||||
return Err(InstructionError::CreditOnlyDataModified);
|
return Err(InstructionError::CreditOnlyDataModified);
|
||||||
}
|
}
|
||||||
|
|
||||||
// executable is one-way (false->true) and
|
// executable is one-way (false->true) and only the account owner may set it.
|
||||||
// only system or the account owner may modify.
|
|
||||||
if pre.executable != post.executable
|
if pre.executable != post.executable
|
||||||
&& (!is_debitable // line coverage used to get branch coverage
|
&& (!is_debitable // line coverage used to get branch coverage
|
||||||
|| pre.executable // line coverage used to get branch coverage
|
|| pre.executable // line coverage used to get branch coverage
|
||||||
|
Reference in New Issue
Block a user