Update contracts/mainnet/connectors/morpho-aave/main.sol

Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com>
This commit is contained in:
Shriya Tyagi 2022-10-15 05:18:20 +04:00 committed by GitHub
parent d89ef2dabc
commit 368f9f52e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}