diff --git a/contracts/DebtLocker.sol b/contracts/DebtLocker.sol index 0795cfc..ce1c4c1 100644 --- a/contracts/DebtLocker.sol +++ b/contracts/DebtLocker.sol @@ -315,7 +315,7 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied { } function _isLiquidationActive() internal view returns (bool isActive_) { - return (_liquidator != address(0)) && (IERC20Like(IMapleLoanLike(_loan).collateralAsset()).balanceOf(_liquidator) > 0); + return (_liquidator != address(0)) && (IERC20Like(IMapleLoanLike(_loan).collateralAsset()).balanceOf(_liquidator) != uint256(0)); } }