mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-20 07:26:50 +00:00
cleanup
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
use bytemuck::{Pod, Zeroable};
|
||||
use solana_program::pubkey::Pubkey;
|
||||
|
||||
use crate::{impl_account_from_bytes, impl_to_bytes};
|
||||
|
||||
use super::{AccountDiscriminator, Discriminator, Hash};
|
||||
use crate::{
|
||||
impl_account_from_bytes, impl_to_bytes,
|
||||
state::Hash,
|
||||
utils::{AccountDiscriminator, Discriminator},
|
||||
};
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
||||
@@ -28,7 +30,7 @@ pub struct Proof {
|
||||
}
|
||||
|
||||
impl Discriminator for Proof {
|
||||
fn discriminator() -> super::AccountDiscriminator {
|
||||
fn discriminator() -> AccountDiscriminator {
|
||||
AccountDiscriminator::Proof
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user