Both initiateLiquidation and liquidateBorrower have whenNotPaused modifier.
This is problematic, especially given the fact that loans continue to accrue interest when the protocol is paused. Not having the ability to liquidate a position when the protocol is paused can lead to bad debt.
Not being able to liquidate a position when the protocol is paused can lead to bad debt.
Consider removing whenNotPaused modifier from both initiateLiquidation and liquidateBorrower functions.
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.