feat: minor fix

This commit is contained in:
Shriya Tyagi 2024-02-15 03:40:48 +04:00
parent 749e78a335
commit ece247dbdf

View File

@ -366,7 +366,7 @@ abstract contract SparkConnector is Events, Helpers {
rateMode, rateMode,
onBehalfOf onBehalfOf
); );
_amt = amtDSA > _amtDebt ? _amtDebt : _amtDSA; _amt = _amtDSA > _amtDebt ? _amtDebt : _amtDSA;
} }
if (isEth) convertEthToWeth(isEth, tokenContract, _amt); if (isEth) convertEthToWeth(isEth, tokenContract, _amt);