bump epoch to 2 minutes

This commit is contained in:
Hardhat Chad
2024-08-12 15:32:32 +00:00
parent 2f8cd1cefc
commit 8e3e5374dd
2 changed files with 4 additions and 4 deletions

View File

@@ -160,9 +160,9 @@ pub fn process_mine<'a, 'info>(accounts: &'a [AccountInfo<'info>], data: &[u8])
// Limit payout amount to whatever is left in the bus.
//
// Busses are limited to distributing 1 ORE per epoch. This is the maximum amount a miner can earn
// Busses are limited to distributing 1 ORE per epoch. This is also the maximum amount a miner can earn
// for any given hash.
let reward_actual = reward.min(bus.rewards);
let reward_actual = reward.min(bus.rewards).min(ONE_ORE);
// Update balances.
//