From c1017548424d40e20781f48e904ed8d48f512fa8 Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 1 Mar 2021 11:32:21 +0100 Subject: [PATCH] fix(common/tools): cast a wider net when looking for CMC match --- common/tools/marketcap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tools/marketcap.py b/common/tools/marketcap.py index 0ff6f4196..9dad6c734 100644 --- a/common/tools/marketcap.py +++ b/common/tools/marketcap.py @@ -69,7 +69,7 @@ def init(api_key, refresh=None): market_cap = coin["quote"]["USD"]["market_cap"] price = coin["quote"]["USD"]["price"] if market_cap is not None: - cap_data[slug] = int(market_cap) + cap_data[slug] = cap_data[symbol] = int(market_cap) price_data[symbol] = price if platform is not None and platform["name"] == "Ethereum": address = platform["token_address"].lower()