**Description: In the function **updateReward::RewardsPool
the variable unint256 newRwards
should be initialized as int256 rather than uint256 to avoid unecessary revert if withdrawableRewards(_account)
> userRewards[_account]
Impact: Unecessary revert where updateReward::RewardsPool
is called in the protocol (given where withdrawableRewards(_account)
> userRewards[_account]
)
Recommended Mitigation:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.