From 4f0d315dca49e4c80db572e5cdf1350db360a65d Mon Sep 17 00:00:00 2001 From: Hardhat Chad Date: Thu, 12 Jun 2025 16:05:23 -0700 Subject: [PATCH] remove jackpot --- api/src/state/block.rs | 6 ------ program/src/open.rs | 2 -- 2 files changed, 8 deletions(-) diff --git a/api/src/state/block.rs b/api/src/state/block.rs index c5ab4c0..6542acb 100644 --- a/api/src/state/block.rs +++ b/api/src/state/block.rs @@ -57,12 +57,6 @@ pub struct RewardConfig { /// The minimum difficulty required for payout. pub difficulty_threshold: u64, - - /// Jackpot amount. - pub jackpot_amount: u64, - - /// The threshold difficulty for the jackpot payout. - pub jackpot_threshold: u64, } impl Block { diff --git a/program/src/open.rs b/program/src/open.rs index 91e3713..89f31d0 100644 --- a/program/src/open.rs +++ b/program/src/open.rs @@ -60,8 +60,6 @@ pub fn process_open(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult best_hash_reward: 0, difficulty_threshold: MIN_DIFFICULTY, difficulty_reward: 0, - jackpot_amount: 0, - jackpot_threshold: 0, }; block.slot_hash = [0; 32]; block.start_slot = start_slot;