clippy
This commit is contained in:
committed by
mergify[bot]
parent
01262cda3f
commit
eefcf484cb
@@ -23,10 +23,8 @@ pub fn transaction_uses_durable_nonce(tx: &Transaction) -> Option<&CompiledInstr
|
||||
Some(program_id) => system_program::check_id(&program_id),
|
||||
_ => false,
|
||||
}
|
||||
} && match limited_deserialize(&maybe_ix.data) {
|
||||
Ok(SystemInstruction::AdvanceNonceAccount) => true,
|
||||
_ => false,
|
||||
})
|
||||
} && matches!(limited_deserialize(&maybe_ix.data), Ok(SystemInstruction::AdvanceNonceAccount))
|
||||
)
|
||||
}
|
||||
|
||||
pub fn get_nonce_pubkey_from_instruction<'a>(
|
||||
|
Reference in New Issue
Block a user