Rename active() to is_active()

This commit is contained in:
Michael Vines
2020-09-24 13:31:51 -07:00
parent 3a2b8c5e5b
commit e39fac9f01
4 changed files with 12 additions and 12 deletions

View File

@ -685,7 +685,7 @@ impl MessageProcessor {
) -> Result<(), InstructionError> {
// Fixup the special instructions key if present
// before the account pre-values are taken care of
if feature_set.active(&feature_set::instructions_sysvar_enabled::id()) {
if feature_set.is_active(&feature_set::instructions_sysvar_enabled::id()) {
for (i, key) in message.account_keys.iter().enumerate() {
if solana_sdk::sysvar::instructions::check_id(key) {
let mut mut_account_ref = accounts[i].borrow_mut();