mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/mainnet/connectors/morpho-aave/main.sol
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com>
This commit is contained in:
parent
d89ef2dabc
commit
368f9f52e7
|
@ -334,7 +334,7 @@ abstract contract MorphoAave is Helpers, Events {
|
|||
: _tokenContract.balanceOf(address(this));
|
||||
|
||||
(, , , uint256 _amtDebt) = morphoAaveLens
|
||||
._getCurrentBorrowBalanceInOf(_poolTokenAddress, address(this));
|
||||
.getCurrentBorrowBalanceInOf(_poolTokenAddress, address(this));
|
||||
|
||||
_amt = _amtDSA <= _amtDebt ? _amtDSA : _amtDebt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user