Function load_system_account

Source
pub fn load_system_account(
    info: &AccountInfo<'_>,
    is_writable: bool,
) -> Result<(), ProgramError>
Expand description

Errors if:

  • Owner is not the system program.
  • Data is not empty.
  • Account is not writable.