invoke_signed

Function invoke_signed 

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

Invoke a cross-program instruction with program signatures

Note that the program id of the instruction being issued must also be included in account_infos.