minor fix

This commit is contained in:
Thrilok kumar 2022-09-03 01:24:52 +05:30
parent 745f7c6a61
commit c40aa080e0

View File

@ -594,7 +594,7 @@ abstract contract CompoundV3Resolver is Events, Helpers {
);
if (amt_ == uint256(-1)) {
amt_ = initialBal;
amt_ = borrowedBalance_;
} else {
require(
amt_ <= borrowedBalance_,