This commit is contained in:
Hardhat Chad
2024-08-12 16:24:58 +00:00
parent 8e3e5374dd
commit 9d0da95bc8

View File

@@ -160,7 +160,7 @@ 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 also the maximum amount a miner can earn
// Busses are limited to distributing 1 ORE per epoch. This is also the maximum amount that will be paid out
// for any given hash.
let reward_actual = reward.min(bus.rewards).min(ONE_ORE);