File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ type WhitelistApiResponse = {
110110 whitelistedRewardTokens : string [ ] ;
111111 additionalIncentiveInfo : Record < string , ReserveIncentiveAdditionalData > ;
112112} ;
113- const mockaddressWeETH = '0xFe0c30065B384F05761f15d0CC899D4F9F9Cc0eB' ;
113+ const addressETHFI = '0xFe0c30065B384F05761f15d0CC899D4F9F9Cc0eB' ;
114114const MERKL_ENDPOINT = 'https://api.merkl.xyz/v4/opportunities?mainProtocolId=aave' ; // Merkl API
115115const WHITELIST_ENDPOINT = 'https://apps.aavechan.com/api/aave/merkl/whitelist-token-list' ; // Endpoint to fetch whitelisted tokens
116116const checkOpportunityAction = (
@@ -136,8 +136,8 @@ const useWhitelistedTokens = () => {
136136 const data = await response . json ( ) ;
137137
138138 // TODO: Remove hardcoded addition once we have ETHFI in the whitelist API
139- if ( ! data . whitelistedRewardTokens . includes ( mockaddressWeETH . toLowerCase ( ) ) ) {
140- data . whitelistedRewardTokens . push ( mockaddressWeETH . toLowerCase ( ) ) ;
139+ if ( ! data . whitelistedRewardTokens . includes ( addressETHFI . toLowerCase ( ) ) ) {
140+ data . whitelistedRewardTokens . push ( addressETHFI . toLowerCase ( ) ) ;
141141 }
142142
143143 return data ;
You can’t perform that action at this time.
0 commit comments