electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d0755698ce7e153a3c60d9c2b965f0ec9dc972f9
parent ef54d6416e16888624eb04512a89d8e687d01906
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 10 Jan 2017 10:57:47 +0100

fix #2104

Diffstat:
Mlib/exchange_rate.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/exchange_rate.py b/lib/exchange_rate.py @@ -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)