Player with at least 1 paid prediction shall be eligible for reward. However, in ScoreBoard::isEligibleForReward
, the function was found wrongly implemented the condition that disabled player with 1 paid prediction from getting his reward.
According to the rules specified, player can receive an amount from the prize fund only if their total number of points is a positive number and if they had paid at least one prediction fee. However, function ScoreBoard::isEligibleForReward
implemented condition that requires player to have more than 1 paid prediction for reward eligibility.
Proof of Concept:
Add the following test to test/ThePredicter.test.sol
:
The test above will fail indicating that scoreBoard.isEligibleForReward
has wrong implementation. However, if the condition imposed rectified as in the recommendation section below, a rerun of the same test will pass.
Player with one paid prediction is not eligible for reward redemption
Manual review
Make correction on the condition as below:
Players with only one prediction cannot withdraw.
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.