Contribute() is not checking whether amount is non-zero.
When a contribution is made by a contributor, there is no zero-check and the contribution may have the value 0.
Wasted space by the FundContribute
struct.
Add the following code:
If user contributes 0 SOL, the `contribution.amount` will be updated with 0 value. There is no impact on the protocol. Also, the new contributers should pay for account creation, therefore there is no incentive someone to create a very huge number of accounts to contribute zero 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.