In refund
function, there is a check if the deadline is reached but there is no check that assume that the goals aren't met
In refund
function, there is a check if the deadline is reached but there is no check that assume that the goals aren't met, breaking the logic of the refund function as mentionned in the readme.
Only the deadline is checked :
The logic is not in according with the readme so anyone can call the refund
function if the deadline is reached and the goal are met which is not the intented purpose of the function.
Manual Review
Add a check that the fund.amount_raised
is lower than the fund.goal
before authorizing the refund.
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.