From 8bf26ed1cd5e5bdc1f2fb794c3b08a5676ee120d Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Sat, 3 Sep 2022 01:58:42 +0530 Subject: [PATCH] fix --- contracts/mainnet/connectors/compound/v3/helpers.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/compound/v3/helpers.sol b/contracts/mainnet/connectors/compound/v3/helpers.sol index b43c9974..9b4ac387 100644 --- a/contracts/mainnet/connectors/compound/v3/helpers.sol +++ b/contracts/mainnet/connectors/compound/v3/helpers.sol @@ -136,7 +136,7 @@ abstract contract Helpers is DSMath, Basic { //if borrow balance > 0, there are no supplies so no withdraw, borrow instead. require( - CometInterface(market).borrowBalanceOf(params.from) == 0, + CometInterface(params.market).borrowBalanceOf(params.from) == 0, "withdraw-disabled-for-zero-supplies" ); } else {