loan.auctionLength is not updated in giveLoan and buyLoan functions.
In the giveLoan function, when the loan is given to another pool and the loan is updated with new details, auctionlength is not updated which has to be updated based on the new pool parameters.
Similarly in the function buyLoan when the loan goes to the auction
After the loan is given to new pool, the loan.auctionlength is not set according to the new pool.
Even the event to be emitted should include the auction length value.
The auction length will be different from the new pool setting.
In the function giveLoan,buyLoan add the following
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.