mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/mainnet/connectors/spark/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
parent
94ac699109
commit
79d7a4aaa8
|
@ -366,7 +366,7 @@ abstract contract SparkConnector is Events, Helpers {
|
||||||
rateMode,
|
rateMode,
|
||||||
onBehalfOf
|
onBehalfOf
|
||||||
);
|
);
|
||||||
_amt = _amtDSA <= _amtDebt ? _amtDSA : _amtDebt;
|
_amt = amtDSA > _amtDebt ? _amtDebt : _amtDSA;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isEth) convertEthToWeth(isEth, tokenContract, _amt);
|
if (isEth) convertEthToWeth(isEth, tokenContract, _amt);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user