The closePot
function can be called prematurely, causing unnecessary reverts.
Although the contract checks if 90 days have passed before closing the contest, this check is only done inside the function. A premature call would still consume gas, even if it fails.
Repeated attempts to close the contest before 90 days will fail and waste gas for the user.
Manual review
Include a more explicit check at the beginning of the function to prevent early execution.
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.