Function solana_sdk::program::invoke_signed_unchecked[][src]

pub fn invoke_signed_unchecked(
    instruction: &Instruction,
    account_infos: &[AccountInfo<'_>],
    signers_seeds: &[&[&[u8]]]
) -> Result<(), ProgramError>
Expand description

Invoke a cross-program instruction with program signatures but don’t check RefCell handling.

Note:

  • The missing checks ensured that the invocation doesn’t violate the borrow rules of the AccountInfo fields that are wrapped in RefCells. To include the checks call invoke_signed instead.
  • The program id of the instruction being issued must also be included in account_infos.