Inside RToken.sol
, the admin function updateLiquidityIndex() has a onlyReservePool
modifier which restricts its call to be made only by the LendingPool contract and no one else.
However there is no function inside LendingPool.sol
that calls the aforementioned function.
The functionality which RToken::updateLiquidityIndex()
aims to provide can never be used. Admin can't update the liquidity index.
Add a function inside LendingPool.sol
which looks like:
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.