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