moneyversed
medium
There is a risk of underflow when computing _marketId in the _hasMarketVerification function. Proper checks should be in place to avoid this issue.
In the LenderManager.sol contract, the _hasMarketVerification function is susceptible to underflow when computing _marketId, potentially leading to incorrect calculations.
Incorrect calculations could lead to unintended behavior and vulnerabilities within the contract.
Manual Review
Ensure proper checks for underflow are in place when computing _marketId in the _hasMarketVerification function. Consider using SafeMath from the OpenZeppelin library to prevent underflow issues.