The userRewards[user] variable in FeeCollector::claimRewards is incorrectly assigned totalDistributed instead of accumulating pendingReward. During the first reward claim, userRewards[user] gets erroneously set to totalDistributed, causing subsequent calls to _calculatePendingRewards to return zero pending rewards. This prevents users from claiming rewards multiple times and creates inconsistencies between actual received rewards and system records.
Users can only claim rewards once
Discrepancy between actual received rewards and system records
Manual Review
Correct Assignment of userRewards[user]:
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.