tfix #2104 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d0755698ce7e153a3c60d9c2b965f0ec9dc972f9
DIR parent ef54d6416e16888624eb04512a89d8e687d01906
HTML Author: ThomasV <thomasv@electrum.org>
Date: Tue, 10 Jan 2017 10:57:47 +0100
fix #2104
Diffstat:
M lib/exchange_rate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/exchange_rate.py b/lib/exchange_rate.py
t@@ -311,7 +311,7 @@ class FxThread(ThreadJob):
self.set_exchange(self.config_exchange())
def get_exchanges_by_ccy(self, ccy, h):
- return self.exchanges_by_ccy.get(ccy)
+ return self.exchanges_by_ccy.get(ccy, [])
def ccy_amount_str(self, amount, commas):
prec = CCY_PRECISIONS.get(self.ccy, 2)