mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-03 07:36:49 +00:00
cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use steel::*;
|
||||
|
||||
use crate::state::{treasury_pda, OreAccountOLD};
|
||||
use crate::state::treasury_pda;
|
||||
|
||||
use super::OreAccount;
|
||||
|
||||
@@ -12,17 +12,4 @@ pub struct Treasury {
|
||||
pub balance: u64,
|
||||
}
|
||||
|
||||
/// Treasury is a singleton account which is the mint authority for the ORE token and the authority of
|
||||
/// the program's global token account.
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
||||
pub struct TreasuryOLD {}
|
||||
|
||||
impl Treasury {
|
||||
pub fn pda() -> (Pubkey, u8) {
|
||||
treasury_pda()
|
||||
}
|
||||
}
|
||||
|
||||
account!(OreAccount, Treasury);
|
||||
account!(OreAccountOLD, TreasuryOLD);
|
||||
|
||||
Reference in New Issue
Block a user