commit 0a1542e2496769a114ab9c1370b4ace4c6505a91 parent 395f9c96797a6d8c85f8956cc8a9caad7b90b2e0 Author: ThomasV <thomasv@electrum.org> Date: Tue, 20 Feb 2018 09:58:36 +0100 fix #3929 Diffstat:
M | lib/wallet.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py @@ -1720,7 +1720,8 @@ class Abstract_Wallet(PrintError): if fiat_value is not None: return fiat_value else: - return self.price_at_timestamp(txid, price_func) * txin_value/Decimal(COIN) + p = self.price_at_timestamp(txid, price_func) + return None if p is None else p * txin_value/Decimal(COIN) else: # could be some coinjoin transaction.. return None