The _withdrawFromVault function is supposed to withdraw the funds from the curveVault and transfer it to the RToken address. This doesnt happen and thus the withdraw/borrow operations will be DOS'ed
The withdrawFromVault function is supposed to withdraw the funds from the curveVault and transfer it to the RToken address. This can be understood by the following scenario: when a user tries to withdraw their funds, the ensureLiquidity function is called, which calls the withdrawFromVault function, and then the LendingPool proceeds to call the burn function in the rToken which tries to transfer the withdraw amount to the user. Since the withdrawFromVault function doesnt transfer the funds to the rToken this transfer will fail. With this it should be clear that the funds should be transferred to the rToken address in the _withdrawFromVault function.
LendingPool functions like withdraw/borrow wont work
manual Review
After withdrawing the funds from the vault transfer it to the rToken address.
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.