bus checks

This commit is contained in:
Hardhat Chad
2024-02-16 17:51:00 +00:00
parent 992ad9d2ab
commit 3934f81b31
9 changed files with 45 additions and 50 deletions

View File

@@ -12,7 +12,7 @@ pub struct Bus {
pub id: u64,
/// The quantity of rewards this bus can issue in the current epoch epoch.
pub available_rewards: u64,
pub rewards: u64,
}
impl Discriminator for Bus {

View File

@@ -10,12 +10,12 @@ use crate::{
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Treasury {
/// The bump of the treasury account PDA.
pub bump: u64,
/// The admin authority with permission to update the difficulty.
pub admin: Pubkey,
/// The bump of the treasury account PDA.
pub bump: u64,
/// The hash difficulty.
pub difficulty: Hash,