mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-20 09:43:23 +00:00
small fix in get_exchange_rates (#1365)
While running tests, the print(e) was printing an annoying list of currencies. Removing it it is also more coherent with the other currencies providers below.
This commit is contained in:
@ -188,8 +188,7 @@ def get_exchange_rates(currencies):
|
|||||||
blockchain_rates.append(
|
blockchain_rates.append(
|
||||||
float(blockchain_prices[currency]["last"])
|
float(blockchain_prices[currency]["last"])
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception:
|
||||||
print(e)
|
|
||||||
blockchain_rates.append(np.nan)
|
blockchain_rates.append(np.nan)
|
||||||
api_rates.append(blockchain_rates)
|
api_rates.append(blockchain_rates)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user