parent
5264fded00
commit
328a6a866e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue