Skip to content

Commit 9c4fef5

Browse files
committed
Merge branch 'feat/avalanche-fix-uiprovider' of github.com:aave/protocol-v2 into feat/188-avalanche-market
2 parents 58556fc + 4dea9b3 commit 9c4fef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
109109
// reserve configuration
110110

111111
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
112-
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
112+
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
113113
reserveData.name = '';
114114

115115
(
@@ -286,7 +286,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
286286
// reserve configuration
287287

288288
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
289-
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
289+
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
290290
reserveData.name = '';
291291

292292
(

0 commit comments

Comments
 (0)