|
@@ -3,7 +3,6 @@
|
|
|
use crate::accounts::header;
|
|
|
use crate::error::ErrorCode;
|
|
|
use crate::*;
|
|
|
-use arrayref::array_ref;
|
|
|
use solana_program::account_info::AccountInfo;
|
|
|
use solana_program::instruction::AccountMeta;
|
|
|
use solana_program::pubkey::Pubkey;
|
|
@@ -188,7 +187,7 @@ impl<'info, T: ZeroCopy + Owner> Accounts<'info> for AccountLoader<'info, T> {
|
|
|
|
|
|
impl<'info, T: ZeroCopy + Owner> AccountsExit<'info> for AccountLoader<'info, T> {
|
|
|
// The account *cannot* be loaded when this is called.
|
|
|
- fn exit(&self, _program_id: &Pubkey) -> ProgramResult {
|
|
|
+ fn exit(&self, _program_id: &Pubkey) -> Result<()> {
|
|
|
// No-op.
|
|
|
Ok(())
|
|
|
}
|