rescueToken function in RToken contract is protected with the onlyReservePool modifier:
However, the reserve pool (lending pool) never calls rescueToken function, making it unusable.
RToken contract is supposed to have a token rescue feature, which is actually not functional. This means it can lead to token being stuck in this contract.
The impact of this issue is high, as it prevents any token transfers from RToken to another address, leading to risk of funds being stuck in the contract.
Manual review
Make sure that the Lending pool calls rescueToken, either by creating a new function rescueTokenInRToken, or by integrating token rescue in the rescueToken function of the lending pool.
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.