contribution.amount is not updated in contribute
In the contribute
function, the code only initializes the contribution
but fails to update the contribution amount after the transfer happens.
After transferring SOL to the fund, ctx.accounts.contribution.amount
should be increased by amount
, but that step is missing.
the contributor's SOL will be lost forever.
Manual review.
ctx.accounts.contribution.amount
should be increased by amount
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.