Closed code423n4 closed 2 years ago
0v3rf10w
https://github.com/crytic/slither/wiki/Detector-Documentation#local-variable-shadowing
LPool.borrowBalanceCurrent(address).borrowIndex (contracts/liquidity/LPool.sol#442) shadows: - LPoolStorage.borrowIndex (contracts/liquidity/LPoolInterface.sol#62) (state variable) LPool.borrowBalanceStoredInternalWithBorrowerIndex(address,uint256).borrowIndex (contracts/liquidity/LPool.sol#464) shadows: - LPoolStorage.borrowIndex (contracts/liquidity/LPoolInterface.sol#62) (state variable)
slither
No security risk and poc provided.
Handle
0v3rf10w
Vulnerability details
Impact
https://github.com/crytic/slither/wiki/Detector-Documentation#local-variable-shadowing
Proof of Concept
Tools Used
slither