1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-31 18:40:56 +00:00

coins_details: round market cap numbers for tokens

This commit is contained in:
matejcik 2019-02-05 14:40:27 +01:00
parent 6a7a08f83f
commit 6fb0c34fab
2 changed files with 632 additions and 632 deletions

File diff suppressed because it is too large Load Diff

View File

@ -100,7 +100,7 @@ def coinmarketcap_init(api_key, refresh=None):
coin_data[slug] = int(market_cap)
if platform is not None and platform["name"] == "Ethereum":
address = platform["token_address"].lower()
coin_data[address] = market_cap
coin_data[address] = int(market_cap)
MARKET_CAPS = coin_data