From bbc51abfe3b6d41896ffe83703b4526f274b93ad Mon Sep 17 00:00:00 2001 From: Hardhat Chad Date: Fri, 24 May 2024 21:55:47 +0000 Subject: [PATCH] todos --- src/loaders.rs | 2 +- src/state/treasury.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/loaders.rs b/src/loaders.rs index eaddb54..73d7c50 100644 --- a/src/loaders.rs +++ b/src/loaders.rs @@ -757,7 +757,7 @@ pub fn load_program<'a, 'info>( // hash: KeccakHash::new_from_array([u8::MAX; 32]).into(), // total_hashes: 0, // total_rewards: 0, -// multiplier: 1, // TODO +// multiplier: 1, // last_hash_at: 0, // } // .to_bytes(), diff --git a/src/state/treasury.rs b/src/state/treasury.rs index 0975de6..e699ae2 100644 --- a/src/state/treasury.rs +++ b/src/state/treasury.rs @@ -10,11 +10,7 @@ use crate::{ /// It is the mint authority for the Ore token and also the authority of the program-owned token account. #[repr(C)] #[derive(Clone, Copy, Debug, PartialEq, Pod, ShankAccount, Zeroable)] -pub struct Treasury { - /// The bump of the treasury account PDA, for signing CPIs. - // TODO Is this needed if bump is const? - pub bump: u64, -} +pub struct Treasury {} impl Discriminator for Treasury { fn discriminator() -> AccountDiscriminator {