It is more gas efficient to use assembly to check for address(0). Example code is at Solidity Assembly: Checking if an Address is 0 (Efficiently).
There are 2 instances of this issue.
| File Link | Instance Count | Instance Links |
|---|---|---|
| Lender.sol | 2 | 167,240 |
12 gas
baudit: a custom static code analysis tool; manual review
Use assembly to check for address(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.