not checking if _amount is greater than 0
should check if _amount is greater than 0 in case something with the oracle went wrong
if _amount is 0 something wrong might have happened to the oracle, checking it can prevent a 0 price.
manual
check if _amount > 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.