mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-18 07:26:44 +00:00
refactor loaders into utils
This commit is contained in:
@@ -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>],
|
||||
|
||||
Reference in New Issue
Block a user