mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
todos
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user