The liquidation status check implemented in LendingPool.sol when borrowing or withdrawing is incorrect
Users are allowed to deposit RAAC NFT as collateral to borrow against them and withdraw back after they pay all the debt. The liquidation status is checked when borrowing to ensure users have enough collateral to cover their debt, meaning that should greater than . However the code implemented in LendingPool.sol is incorrect:
same issue can be found in withdrawNFT() method.
bad debt will not be liquidated in time, protocol/lending users will suffer from the loss.
manual
consider changing to:
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.