This commit is contained in:
Hardhat Chad
2025-09-18 11:46:35 -07:00
parent 55666405ef
commit 04940529f8
8 changed files with 8 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ pub fn process_claim_ore(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramRe
recipient_info.as_associated_token_account(signer_info.key, mint_info.key)?;
}
// Load amount.
// Normalize amount.
let amount = miner.rewards_ore.min(amount);
// Update miner.