Inside RToken.sol
, the emergency function rescueToken() 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. There is one there named rescueToken() but that rescues funds from the LendingPool contract, not the RToken one.
The functionality which RToken::rescueToken()
aims to provide can never be used. Any stuck funds can never be rescued.
Add a function inside LendingPool.sol
which looks like this:
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.