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:
parent
6a7a08f83f
commit
6fb0c34fab
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user