1
0

simplify test

This commit is contained in:
ThomasV
2018-11-27 18:34:36 +01:00
parent 6bf48d0506
commit c5b8706225

View File

@@ -272,9 +272,9 @@ class Abstract_Wallet(AddressSynchronizer):
else:
# avoid saving empty dict
return True
if ccy not in self.fiat_value:
self.fiat_value[ccy] = {}
if not reset:
else:
if ccy not in self.fiat_value:
self.fiat_value[ccy] = {}
self.fiat_value[ccy][txid] = text
self.storage.put('fiat_value', self.fiat_value)
return reset