mirror of
https://github.com/RoboSats/robosats.git
synced 2025-09-05 08:24:15 +00:00
small fix in get_exchange_rates
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(
|
||||
float(blockchain_prices[currency]["last"])
|
||||
)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
except Exception:
|
||||
blockchain_rates.append(np.nan)
|
||||
api_rates.append(blockchain_rates)
|
||||
|
||||
|
Reference in New Issue
Block a user