gzeon
function claimRewardAsMochi in ReferralFeePoolV0.sol did not reduce user reward balance, allowing referrer to claim the same reward repeatedly and thus draining the fee pool.
#Proof of Concept
L28-47 did not reduce user reward balance
None
Add the following lines
> rewards -= reward[msg.sender];
reward[msg.sender] = 0;
The text was updated successfully, but these errors were encountered:
All reactions