amount not being accounted when the contributor sends money to the crowdfunding.
in the contribute
function contribution.amount
is being set to 0 but should be set to the parameter amount
, like this the amount is not being accounted to the contributor but the value is being sent.
contributor not being credit for the donation and in case the crowdfunding never hit the goal he can't get his money back.
manual
contribution.amount += amount
should be used instead or a safer way of adding two numbers.
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.