Upon sending fees to the feeReceiver it should be checked that fees != 0.
Some tokens revert on zero-value transfers. Considering both borrowerFee and lenderFee could be changed to 0 and loan's could happen for short-enough time for interest to round down to 0, it is completely possible for fees' value to be 0. If token which reverts on zero-value transfer is used, the transaction will revert and users will be unable to borrow, repay, giveLoan, buyLoan, seizeLoan.
Users' transactions will revert and they'll be unable to call borrow, repay, giveLoan, buyLoan, seizeLoan.
Manual review
Upon sending fees, make sure it is a non-zero value.
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.