mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
Fix balance check
This commit is contained in:
@@ -221,7 +221,7 @@ mod ore {
|
||||
// Validate claim is for an appropriate quantity of tokens.
|
||||
let proof = &mut ctx.accounts.proof;
|
||||
require!(
|
||||
amount.ge(&proof.claimable_rewards),
|
||||
proof.claimable_rewards.ge(&amount),
|
||||
ProgramError::ClaimTooLarge
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user