From d89ef2dabc9679f3546aa5de748a3beeda95d7e6 Mon Sep 17 00:00:00 2001 From: Shriya Tyagi <47134275+shriyatyagii@users.noreply.github.com> Date: Sat, 15 Oct 2022 05:18:10 +0400 Subject: [PATCH] Update contracts/mainnet/connectors/morpho-aave/main.sol Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com> --- contracts/mainnet/connectors/morpho-aave/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/morpho-aave/main.sol b/contracts/mainnet/connectors/morpho-aave/main.sol index 85b16395..bc4c49ba 100644 --- a/contracts/mainnet/connectors/morpho-aave/main.sol +++ b/contracts/mainnet/connectors/morpho-aave/main.sol @@ -280,7 +280,7 @@ abstract contract MorphoAave is Helpers, Events { address _token = _isETH ? wethAddr : _tokenAddress; if (_amt == uint256(-1)) - (, , , _amt) = morphoAaveLens._getCurrentSupplyBalanceInOf( + (, , , _amt) = morphoAaveLens.getCurrentSupplyBalanceInOf( _poolTokenAddress, address(this) );