mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
fix
This commit is contained in:
parent
c4c44a9b2b
commit
8bf26ed1cd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user