The remainingRewards
variable in the Pot
contract is not updated after the final reward distribution, potentially misleading users.
The ContestManager::getContestRemainingRewards
function relies on the Pot::getRemainingRewards
function. However, the remainingRewards
variable is never updated after the final distribution of rewards, which could mislead users into thinking that the contest is still active.
Users might incorrectly believe that they can still claim rewards, even though all rewards have already been distributed.
Manual code review.
Ensure that the remainingRewards
variable is updated appropriately in the Pot::claimCut
function after each reward is claimed.
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.