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:10 +04:00 committed by GitHub
parent dfe82d308d
commit d89ef2dabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ abstract contract MorphoAave is Helpers, Events {
address _token = _isETH ? wethAddr : _tokenAddress; address _token = _isETH ? wethAddr : _tokenAddress;
if (_amt == uint256(-1)) if (_amt == uint256(-1))
(, , , _amt) = morphoAaveLens._getCurrentSupplyBalanceInOf( (, , , _amt) = morphoAaveLens.getCurrentSupplyBalanceInOf(
_poolTokenAddress, _poolTokenAddress,
address(this) address(this)
); );