userRewards
si supposed to track the accumulated rewards per user (see code documentation of the storage variable).
The problem is that this variable actually holds the totalDistributed
value, updated in claimRewards
with
While it's actually used as a checkpoint to compute user rewards , this variable doesn't do what it is supposed to.
The impact of this issue is low.
Manual review.
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.