During the calculation of loanRatio their is no check on the collateral , which makes the LoanRatio equals to 0, and makes the function reverts everytime..
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L618
function will get revert everytime on collateral = o .
Make a check for collateral , like under borrow function
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L244
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.