BuyLoan function does not check that both pool's loan tokens are same as it was checked in giveLoan function .
buyLoan transfers a loan from a pool to another pool and both pools should have same loan token , but there is no check to ensure equality of loan tokens addresses so it can leads to loss of funds for one of lenders if a loan has been transferred from a pool to another pool that different loan token .
loss of funds for one of lenders .
Manual Review
Check both loan tokens are the same .
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.