Function solana_sdk::program::invoke_unchecked
source · [−]pub fn invoke_unchecked(
instruction: &Instruction,
account_infos: &[AccountInfo<'_>]
) -> Result<(), ProgramError>
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 inRefCell
s. To include the checks callinvoke
instead.