The set_deadline function doesn't update the deadline_set flag of the Fund account to true after successfully setting a deadline. This oversight may lead to incorrect behavior when attempting to set a deadline multiple times.
In the current implementation of the set_deadline function, the deadline_set field remains false even after a deadline is successfully set.
The relevant code snippet is as follows:
Potential Bugs: If future functions rely on the deadline_set field to determine whether a deadline can be modified, this oversight could introduce bugs and inconsistencies in behavior.
User Experience: Users may encounter unexpected behavior when interacting with the fund, which could diminish trust in the platform.
Manual Review
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.