ethereum/clrfund

Contribution with zero values like `0.0`

pettinarip opened this issue · 1 comments

On the contribution form, 0.0 is throwing a validation error. It should be accepted as 0 when submitted.

I don't think either 0.0 or 0 should be accepted in the initial contribution. Is there any advantage to this? Seems like it would just create additional messages in MACI with no purpose.

Can confirm 0.0 or .00 already shows invalid:
Image 2021-12-13 at 2 13 36 PM

But 0 displays as valid:
Image 2021-12-13 at 2 13 43 PM