withdraw() does not properly check whether the protocol has enough liquidity before burning RTokens.
If a user tries to withdraw, but another user has drained liquidity in the meantime, the transaction may fail unexpectedly.
require(reserve.totalLiquidity >= amountUnderlying, "Insufficient liquidity for withdrawal");
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.