Constants or literal values in comparisons should appear on the left side of the comparison operator in order to prevent typo bugs.
There are 7 instances of this issue.
File Link | Instance Count | Instance Links |
---|---|---|
Lender.sol | 7 | 134,135,136,184,200,212,244 |
If an operator character is missing, an unintentional variable assignment can occur. For example:
baudit: a custom static code analysis tool; manual review
Place constants and literal values on the left side of the comparison operator.
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.