The set_deadline function fails to update the deadline_set flag after setting a deadline, potentially breaking contract logic that relies on this flag.
Despite checking for an existing deadline, the function does not update the dealine_set flag to true after setting a new deadline. This can lead to deadline updation of deadline multiple times.
The deadline can be set multiple time, thus making the dealine_set validation redundent.
Manual
Explicitly set the deadline_set flag to true after successfully setting a deadline.
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.