mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor fix
This commit is contained in:
parent
15b978a577
commit
c4c44a9b2b
|
@ -123,7 +123,7 @@ abstract contract Helpers is DSMath, Basic {
|
||||||
token_
|
token_
|
||||||
);
|
);
|
||||||
|
|
||||||
if (token_ == getBaseToken(market)) {
|
if (token_ == getBaseToken(params.market)) {
|
||||||
//if there are supplies, ensure withdrawn amount is not greater than supplied i.e can't borrow using withdraw.
|
//if there are supplies, ensure withdrawn amount is not greater than supplied i.e can't borrow using withdraw.
|
||||||
if (amt_ == uint256(-1)) {
|
if (amt_ == uint256(-1)) {
|
||||||
amt_ = initialBal;
|
amt_ = initialBal;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user