20,000 USDC
View results
Submission Details
Severity: gas
Valid

[GAS-1] Use assembly to check for `address(0)`

Summary

Check this Link

Vulnerability Details

Instances (2):

File: src/Lender.sol
167: if (pools[poolId].lender == address(0)) {
240: if (pool.lender == address(0)) revert PoolConfig();

Impact

Tools Used

Recommendations

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.