Snow::buySnow() can allow for 0 amount purchasesIn the Snow::buySnow() function, the amount variable determines the amount of Snow tokens to buy
There are no checks for checking if the amount is a valid value
Likelihood:
Whenever buySnow() is called with 0 amount
Impact:
Invalid event emitted
Add the following test case to the test suite
Add this check at the beginning of buySnow() to revert if amount is 0
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.