The state variable deadlineSet is not updated correctly, still showing false even after the deadline is set.
The deadlineSet state variable introduces a vulnerability due to its logic error, While its purpose is to show whether the deadline has been set or not, but as it remains false even after the setDeadline func. is successfully executed. It happens because the variable is not updated to true after the deadline is set.
This will lead to these potential issues:
host and participants to wrong information.
loss of trust
Manual Review
In function setDeadline this (+line) must be added:
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.