This commit is contained in:
Hardhat Chad
2024-05-24 21:55:47 +00:00
parent da4a81c30b
commit bbc51abfe3
2 changed files with 2 additions and 6 deletions

View File

@@ -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(),

View File

@@ -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 {