The refund function does not decrease fund.amount_raised after refunding, leading to an inflated value that misrepresents available funds.
The vulnerable code is in the refund function:
rust
No Update: fund.amount_raised remains unchanged after transferring funds back.
Accounting Error: Subsequent withdrawals use the outdated amount_raised.
Funds Misallocation: Creators can withdraw more than the actual remaining funds.
Integrity Violation: Breaks financial transparency.
Manual Review
Update amount_raised:
rust
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.