mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix ETH duplicate in CoinGecko
This commit is contained in:
parent
9df7014de3
commit
660f474ab8
|
@ -77,6 +77,9 @@ class CryptoToFiatConverter:
|
|||
else:
|
||||
return None
|
||||
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:
|
||||
return found[0]['id']
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user