The contribution
function does not have any mechanism which checks if an user has already contributed before; which leds to amount
field in the contribution
staying as zero.
The contribute
instruction has a method to check if an user hasn't contributed before; if he hasn't made a contribution before it sets the contribution
struct fields. But, there is no mechanism to increment the amount field, if the user wants to contribute once again; this will cause a loss to user if he requests a refund.
Loss to the user if he requests a refund.
Make change to contribute
function:
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.