Function solana_bpf_loader_program::serialization::is_dup [−][src]
pub fn is_dup(
accounts: &[KeyedAccount<'_>],
keyed_account: &KeyedAccount<'_>
) -> (bool, usize)
Look for a duplicate account and return its position if found