This commit is contained in:
ThomasV 2018-02-20 09:58:36 +01:00
parent 395f9c9679
commit 0a1542e249
1 changed files with 2 additions and 1 deletions

View File

@ -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