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