Fix ETH duplicate in CoinGecko
This commit is contained in:
		| @@ -77,6 +77,9 @@ class CryptoToFiatConverter: | |||||||
|             else: |             else: | ||||||
|                 return None |                 return None | ||||||
|         found = [x for x in self._coinlistings if x['symbol'] == crypto_symbol] |         found = [x for x in self._coinlistings if x['symbol'] == crypto_symbol] | ||||||
|  |         if crypto_symbol == 'eth': | ||||||
|  |             found = [x for x in self._coinlistings if x['id'] == 'ethereum'] | ||||||
|  |  | ||||||
|         if len(found) == 1: |         if len(found) == 1: | ||||||
|             return found[0]['id'] |             return found[0]['id'] | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user