The set_deadline
function does not update the dealine_set
flag after setting the deadline. As a result, the function can be called multiple times, allowing the fund creator to change the deadline arbitrarily.
In the set_deadline
function, the dealine_set
flag is intended to prevent multiple modifications to the deadline. However, after setting fund.deadline
, the flag is not updated to true
, meaning that a fund owner can repeatedly call the function and override the deadline. If goal is not reached, he can keep updating deadline to prevent users from getting refund
The fund creator can arbitrarily change the deadline at any time.
This could lead to manipulation such as extending the deadline indefinitely
Manual code review
Update the dealine_set
flag when the deadline is set:
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.