cleanup utils imports

This commit is contained in:
Hardhat Chad
2024-08-25 14:16:05 +00:00
parent 96f07f7d37
commit 80f6efeeb2
17 changed files with 178 additions and 176 deletions

View File

@@ -1,6 +1,7 @@
use std::mem::size_of;
use ore_api::{consts::*, instruction::OpenArgs, state::Proof};
use ore_utils::*;
use solana_program::{
account_info::AccountInfo,
clock::Clock,
@@ -12,8 +13,6 @@ use solana_program::{
sysvar::{self, Sysvar},
};
use ore_utils::{create_pda, loaders::*, AccountDeserialize, Discriminator};
/// Open creates a new proof account to track a miner's state.
pub fn process_open(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult {
// Parse args.