rescueToken in RToken cannot work because of the access control.
In RToken, there is one function rescueToken(). This function aims to rescue tokens mistakenly sent to this contract.
There is one modifier onlyReservePool
for this function. It means that only the lending pool can trigger this function.
The problem here is that the lending pool contract never trigger this function. This will cause this function does not work as expected.
The feature rescueToken
can not work as expected.
Manual
Add one interface in lending pool to trigger RToken::rescueToken().
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.