solana_sdk::program

Function invoke_signed

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

Like solana_cpi::invoke_signed, but with support for overwriting the sol_invoke_signed syscall stub.