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
745f7c6a61
commit
c40aa080e0
|
@ -594,7 +594,7 @@ abstract contract CompoundV3Resolver is Events, Helpers {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (amt_ == uint256(-1)) {
|
if (amt_ == uint256(-1)) {
|
||||||
amt_ = initialBal;
|
amt_ = borrowedBalance_;
|
||||||
} else {
|
} else {
|
||||||
require(
|
require(
|
||||||
amt_ <= borrowedBalance_,
|
amt_ <= borrowedBalance_,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user