Inside DebtToken.sol
, the admin function updateUsageIndex() 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 DebtToken::updateUsageIndex()
aims to provide can never be used. Admin would not be able to update the usage 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.