The claimReward has a useless check which is not reachable. To prevent claims without penalty another check should be used.
In case ud.unclaimedRewards == 1 the penaltyAmount is zero. So 1 wei can be claimed without penalty.
1 wei can be claimed without penalty
Manual Review
Consider using penaltyAmount == 0 check instead of rewardAmount == 0
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.