mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +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:
parent
62c16c0e91
commit
35d37e6328
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user