1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

chore(common): refresh coins details

This commit is contained in:
matejcik 2020-11-12 15:15:16 +01:00 committed by Tomas Susanka
parent dc7f49aeea
commit f0ede24bd7
3 changed files with 2011 additions and 811 deletions

File diff suppressed because it is too large Load Diff

View File

@ -105,7 +105,7 @@ def _webwallet_support(coin, support):
"""
if not support.get("webwallet"):
return False
return any(".trezor.io" in url for url in coin["blockbook"] + coin["bitcore"])
return any(".trezor.io" in url for url in coin["blockbook"])
def dict_merge(orig, new):

View File

@ -47,7 +47,7 @@ def init(api_key, refresh=None):
while all_ids:
first_100 = all_ids[:100]
all_ids = all_ids[100:]
time.sleep(1)
time.sleep(2.2)
print("Fetching metadata, {} coins remaining...".format(len(all_ids)))
metadata = call(
"cryptocurrency/info", api_key, params={"id": ",".join(first_100)}