RToken has a function to enable programmatically updates to the _liquidityIndex. The RToken::updateLiquidityIndexcan only be called by the LendingPool.
The LendingPooldoesn't implement a functionality to call the RToken::updateLiquidityIndex, blocking it from being updated.
The _liquidityIndex will be stale regardless of the money flow on the LendingPool, causing the pool to perform wrong calculations.
Code Review
Implement a function, on LendingPool to call the updateLiquidityIndexfunction and make the index dynamic as it should be.
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.