https://github.com/Cyfrin/2024-07-the-predicter/blob/main/src/ScoreBoard.sol#L97
One condition in ScoreBoard::isEligibleForReward function is that player need to make more then one prediction to be eligable for reward. In project description (README.md) there is description that player with one correct paid prediction should be eligable for reward: who paid at least one prediction fee.
One condition in the ScoreBoard::isEligibleForReward function is that a player needs to make more than one prediction to be eligible for a reward. In the project description (README.md), it states that a player with one correct paid prediction should be eligible for a reward: prize fund, which after the end of the tournament is distributed among all Players who paid at least one prediction fee.
A player with one correct paid prediction can't withdraw their reward because they are not eligible.
To fix this, we should change the condition in ScoreBoard::isEligibleForReward to include players with predictionsCount greater than or equal to 1.
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.