Function ore_api::loaders::load_program
source ยท pub fn load_program<'a, 'info>(
info: &'a AccountInfo<'info>,
key: Pubkey,
) -> Result<(), ProgramError>
Expand description
Errors if:
- Address does not match the expected value.
- Account is not executable.