Loan memory loan = loans[loanIds[i]]; instead of Loan memory loan = loans[loanId];, and 1 case where the loan is saved to memory a little later than it should, which wastes gas when getting the old pool in the refinance() function. Move the line before the assigning of the oldPool and use the cached variable to generate the id.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.