SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
5 additions and
1 deletions
-
electrum/address_synchronizer.py
|
|
@ -448,7 +448,11 @@ class AddressSynchronizer(PrintError): |
|
|
|
|
|
|
|
def save_verified_tx(self, write=False): |
|
|
|
with self.lock: |
|
|
|
self.storage.put('verified_tx3', self.verified_tx) |
|
|
|
verified_tx_to_save = {} |
|
|
|
for txid, tx_info in self.verified_tx.items(): |
|
|
|
verified_tx_to_save[txid] = (tx_info.height, tx_info.timestamp, |
|
|
|
tx_info.txpos, tx_info.header_hash) |
|
|
|
self.storage.put('verified_tx3', verified_tx_to_save) |
|
|
|
if write: |
|
|
|
self.storage.write() |
|
|
|
|
|
|
|