The function LendingPool::transferAccruedDust()
handles logic to transfer the accrued dust amount in reserve. However, after the transfer, the reserve total liquidity is not reduced.
The function LendingPool::transferAccruedDust()
calls RToken::transferAccruedDust()
to send the accrued dust amount. But after the call, the reserve's total liquidity is not reduced by the transferred amount.
This can cause the reserve's actual liquidity is lower than the value that is recorded in contract storage. As a result, any further calculations using reserve.totalLiquidity
can be inaccurate.
Pool's actual liquidity is less than the recorded value in contract
Lending parameters can be calculated inaccurately because of the incorrect reserve.totalLiquidity
Manual
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.