The refund flow is not working as intended.
In this refund
function: https://github.com/CodeHawks-Contests/2025-03-rustfund/blob/main/programs/rustfund/src/lib.rs#L66
There is not check on the current goal therefore allowing a user to get a refund even if the goal was reached.
The code is not respecting the specs.
Manual review
Implement a check on amount_raised > fund.goal
to prevent refund if it is true.
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.