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.
pub fn load_system_account(
info: &AccountInfo<'_>,
is_writable: bool,
) -> Result<(), ProgramError>
Errors if: