rename history -> addr_history

This commit is contained in:
ThomasV 2012-11-04 15:47:19 +01:00
parent efccde2e8e
commit f1d4838012
1 changed files with 2 additions and 2 deletions

View File

@ -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,