refactor loaders into utils

This commit is contained in:
Hardhat Chad
2024-08-23 17:26:33 +00:00
parent a048c1ae21
commit 6d0e447017
13 changed files with 214 additions and 217 deletions

View File

@@ -1,10 +1,9 @@
use ore_api::{loaders::*, state::Proof};
use ore_utils::{loaders::*, AccountDeserialize};
use solana_program::{
account_info::AccountInfo, entrypoint::ProgramResult, program_error::ProgramError,
};
use crate::utils::AccountDeserialize;
/// Update changes the miner authority on a proof account.
pub fn process_update<'a, 'info>(
accounts: &'a [AccountInfo<'info>],