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.