Bad logic implementation in collectRewards()
allowing the callers to collect unlimited rewards through multiple calls of the function
the _collectedRewards[msg.sender]
should add amountRewards
, not be set to amountRewards
.
_collectedRewards[msg.sender]
might never be 0.
Manual analysis
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.