Withdraw from vault doesn't sends tokens to reserve.reserveRTokenAddress due to which there won't be enough tokens required for withdrawal in r token contract.
Following is function which enusres there is enough liquidity when a depositor calls the withdraw function
Issue is in withdraw from vault function
As we can see that even if enough tokens are withdrawn from the vault ,those tokens are not sent to the r token address due to which withdrawal will fail.
Withdrawal will fail even if there are enough tokens
Manual review
Send the withdrawn tokens from the vault to 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.