Function ore_api::loaders::load_any_proof

source ยท
pub fn load_any_proof(
    info: &AccountInfo<'_>,
    is_writable: bool,
) -> Result<(), ProgramError>
Expand description

Errors if:

  • Owner is not Ore program.
  • Data is empty.
  • Data cannot deserialize into a proof account.
  • Expected to be writable, but is not.