Skip to content

Commit 4dea9b3

Browse files
committed
feat: fixed underlying symbol for avalanche
1 parent 025a988 commit 4dea9b3

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)