This commit is contained in:
Hardhat Chad
2025-05-26 09:49:37 -07:00
parent a8f2b941f1
commit 3049c1b390
5 changed files with 26 additions and 26 deletions

View File

@@ -42,14 +42,14 @@ pub fn process_reset(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul
boost_proof.total_rewards += boost_reward;
// Reset the block.
block.bet_count = 0;
block.current_round += 1;
block.ends_at = clock.slot + 150; // 60 seconds
block.noise = [0; 32];
block.payed_out = 0;
block.reward = net_emissions - boost_reward;
block.started_at = clock.slot;
block.ends_at = clock.slot + 150; // 60 seconds
block.payed_out = 0;
block.total_bets = 0;
block.bet_count = 0;
block.noise = [0; 32];
block.current_round += 1;
// Fund the treasury.
mint_to_signed(