The withdraw
function does not check whether the fund has reached its goal before allowing the creator to withdraw funds. This could allow the creator to withdraw funds prematurely.
The withdraw
function does not validate if the amount_raised
meets the goal
:
The creator could withdraw funds even if the goal has not been met, which might not align with the intended behavior of the crowdfunding platform.
manual review
Add a check to ensure the fund has reached its goal before allowing withdrawal
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.