Function load_program

Source
pub fn load_program(
    info: &AccountInfo<'_>,
    key: Pubkey,
) -> Result<(), ProgramError>
Expand description

Errors if:

  • Address does not match the expected value.
  • Account is not executable.