There are no checks for the amounts to be transferred in some functions. As loan token is set by the lender, which is an arbitrary token, in some cases when the token does not allow for zero amount transfers, the transfer will not succeed.
https://github.com/d-xo/weird-erc20#revert-on-zero-value-transfers
In a situation when such weird ERC20 token is the loan token, some functions may not succeed when the amount is 0.
Setting the severity to high because loan token is the token set by the lender, which is an arbitrary token and loan token is the token the lenders are lending out, which is the main component of the lending in this Beedle protocol.
For example on Line 267, add additional check before transferring the amount of the loan tokens as fees.
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.