contracts/core/tokens/RToken.sol
The RToken contract implements a rescueToken function to rescue tokens (that are’t the underlying asset) sent directly to the contract. This function can only be called by the reservePool i.e lending pool contract, however the LendingPool contract does not contain any logic to execute the rescueToken function on the RToken contract making the function useless.
N.B : the LendingPool contract implements it’s own rescueToken function which can only be used to rescue tokens from its own contract.
Since the rescueToken logic was added to the RToken contract, it means the team expects possible direct token transfers to the RToken contract, but since the function isn’t callable these tokens will be lost
Manual Review
Add logic to the Lending Pool contract that can allow the invocation of the rescueToken function on the RToken contract
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.