From ffc2cd7589eb4f3d952c8b2d6fa11243faabccc0 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Sat, 5 Dec 2020 19:20:29 +0530 Subject: [PATCH] Fixed minor bug in aave v2 resolver --- contracts/protocols/aave_v2.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/protocols/aave_v2.sol b/contracts/protocols/aave_v2.sol index 1b58b8c..42f9388 100644 --- a/contracts/protocols/aave_v2.sol +++ b/contracts/protocols/aave_v2.sol @@ -276,7 +276,7 @@ contract Resolver is AaveHelpers { } AaveUserTokenData[] memory tokensData = new AaveUserTokenData[](length); - (TokenPrice[] memory tokenPrices, uint ethPrice) = getTokensPrices(addrProvider, tokens); + (TokenPrice[] memory tokenPrices, uint ethPrice) = getTokensPrices(addrProvider, _tokens); for (uint i = 0; i < length; i++) { tokensData[i] = getTokenData( @@ -293,5 +293,5 @@ contract Resolver is AaveHelpers { } contract InstaAaveV2Resolver is Resolver { - string public constant name = "Aave-v2-Resolver"; + string public constant name = "AaveV2-Resolver-v1.1"; } \ No newline at end of file