_calculateInterest() parameter(s) can be refactored to save gas
Because _calculateInterest() only accesses 3 properties of its Loan parameter, and the Loan struct contains 10 properties in total, it's more gas efficient to only pass those 3 accessed properties to _calculateInterest.
Gas saved
Refactor Lender.sol so that _calculateInterest is only passed the 3 properties it needs, instead of an entire Loan struct.
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.