simplify test
This commit is contained in:
parent
6bf48d0506
commit
c5b8706225
@ -272,9 +272,9 @@ class Abstract_Wallet(AddressSynchronizer):
|
|||||||
else:
|
else:
|
||||||
# avoid saving empty dict
|
# avoid saving empty dict
|
||||||
return True
|
return True
|
||||||
if ccy not in self.fiat_value:
|
else:
|
||||||
self.fiat_value[ccy] = {}
|
if ccy not in self.fiat_value:
|
||||||
if not reset:
|
self.fiat_value[ccy] = {}
|
||||||
self.fiat_value[ccy][txid] = text
|
self.fiat_value[ccy][txid] = text
|
||||||
self.storage.put('fiat_value', self.fiat_value)
|
self.storage.put('fiat_value', self.fiat_value)
|
||||||
return reset
|
return reset
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user