We never set the value of the deadlineSet to true, so setDeadline function can be called unlimited amount of times by host.
In the code logic for the setDeadline function we have a check that we do not want to change the deadline for the event if it was already set. But we never end up setting the value of the deadlineSet varaible to true, so the host can change the deadline unlimited amount of times
The deadline can be constantly changed when it is expected to already be passed. If this is done an user can refund his/her balance that is sent to the contract. Also an user can chang their status to participant in that case.
Manual Review
Set the value of the deadlineSetvaraible to true the first them when the setDeadLine function is called.
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.