M-04 MitigationConfirmed #36
Labels
confirmed for report
This issue is confirmed for report
mitigation-confirmed
MR-M-04
satisfactory
satisfies C4 submission criteria; eligible for awards
Lines of code
Vulnerability details
comments
The mitigation chooses the second Recommended Mitigation Steps from the submission.
The
lastRewardBalance
is changed fromrewardToken.balanceOf(address(this))
to_previousBalance + deltaPerShare * _totalSupply / one
. It decrease balanceAfterClaimingRewards so remainders can be used next time.So the rewards won't be lost. The remaining rewards are only rolled over to the next call.
The text was updated successfully, but these errors were encountered: