Sol can be withdrawn no matter if the goal amount has met of not
withdraw
function is used by the owner to withdraw the funds, contributed by the contributors(When they call contribute
function), this function transfers the Sol from the contract to the owner, logically this function should only be accessible when the goal has been met or it should only be allowed when the deadline has been passed, but it actually does not check that we can see that in the following code
Allows unintentional withdraw to the owner
Manual Analysis/Auditing
Adding a check from the edge case if the goal has been met or not and if the goal has not been met then checking if the deadline has passed
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.