pub fn load_any_pool(
info: &AccountInfo<'_>,
is_writable: bool,
) -> Result<(), ProgramError>
Expand description
Errors if:
- Owner is not pool program.
- Data is empty.
- Account discriminator does not match expected value.
- Expected to be writable, but is not.