Browse Source

rename history -> addr_history

283
ThomasV 12 years ago
parent
commit
f1d4838012
  1. 4
      lib/wallet.py

4
lib/wallet.py

@ -72,7 +72,7 @@ class Wallet:
self.receipts = config.get('receipts',{}) # signed URIs
self.addressbook = config.get('contacts', []) # outgoing addresses, for payments
self.imported_keys = config.get('imported_keys',{})
self.history = config.get('history',{}) # address -> list(txid, height, timestamp)
self.history = config.get('addr_history',{}) # address -> list(txid, height)
self.transactions = config.get('transactions',{}) # txid -> deserialised
# not saved
@ -848,7 +848,7 @@ class Wallet:
'seed': self.seed,
'addresses': self.addresses,
'change_addresses': self.change_addresses,
'history': self.history,
'addr_history': self.history,
'labels': self.labels,
'contacts': self.addressbook,
'imported_keys': self.imported_keys,

Loading…
Cancel
Save