Function solana_program::program::invoke_unchecked [−][src]
pub fn invoke_unchecked(
instruction: &Instruction,
account_infos: &[AccountInfo<'_>]
) -> ProgramResultExpand 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
AccountInfofields that are wrapped inRefCells. To include the checks callinvokeinstead. - The program id of the instruction being issued must also be included in
account_infos.
