From 968862076ff3952a25ff95ff0f87c7dea6ab311e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 1 Mar 2018 19:09:24 +0100 Subject: [PATCH] fix sign --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 83533cde7..8ccea4b6f 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1032,7 +1032,7 @@ class Abstract_Wallet(PrintError): date = timestamp_to_datetime(timestamp) fiat_value = self.get_fiat_value(tx_hash, fx.ccy) fiat_default = fiat_value is None - fiat_value = - fiat_value if fiat_value is not None else value / Decimal(COIN) * self.price_at_timestamp(tx_hash, fx.timestamp_rate) + fiat_value = fiat_value if fiat_value is not None else value / Decimal(COIN) * self.price_at_timestamp(tx_hash, fx.timestamp_rate) item['fiat_value'] = Fiat(fiat_value, fx.ccy) item['fiat_default'] = fiat_default if value < 0: