Function ore_api::loaders::load_account
source ยท pub fn load_account<'a, 'info>(
info: &'a AccountInfo<'info>,
key: Pubkey,
is_writable: bool,
) -> Result<(), ProgramError>
Expand description
Errors if:
- Address does not match the expected value.
- Expected to be writable, but is not.