Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/03/31 12:0 a.m.11 views

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
Rows per page
Query Builder