Browse Source

fix sign

3.1
ThomasV 7 years ago
parent
commit
968862076f
  1. 2
      lib/wallet.py

2
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:

Loading…
Cancel
Save