chore(common): refresh coins details

pull/1365/head
matejcik 4 years ago committed by Tomas Susanka
parent dc7f49aeea
commit f0ede24bd7

File diff suppressed because it is too large Load Diff

@ -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):

@ -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)}

Loading…
Cancel
Save