See Vulnerability Details
This check if not passed reverts with an error message DecentralizedStableCoin__MustBeMoreThanZero()
, however the provided calue is a uint
which hints that it could never be negative in the first place and the check should instead be if _amount = 0
Incorrect context
Manual Audit
Fix this, if our thought process align.
This line has a subtle typo that leads to confusion while reading the natspec comment, "you" should instead be "your". submitting as an attached finding as it's to minuscule to create as a stand alone finding.
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.