1 matches found
Incorrect value subtracted from sharesHeld for closed and liquidated pools in LenderPool._withdrawLiquidity
Lines of code Vulnerability details Impact sharesHeld is used to track the amount of yield shares held by LenderPool. However, in the withdrawLiquidity function, when both principal and interest are withdrawn, sharesHeld is only modified by the interest part. This results in incorrect bookkeeping...
6.8AI score
SaveExploits0
20