Function solana_program::program::invoke_unchecked[][src]

pub fn invoke_unchecked(
    instruction: &Instruction,
    account_infos: &[AccountInfo<'_>]
) -> ProgramResult
Expand description

Invoke a cross-program instruction but don’t enforce RefCell handling.

Notes:

  • 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 instead.
  • The program id of the instruction being issued must also be included in account_infos.