electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit c9482b5ea2169464450240bf9a595997069d06f3
parent c017f788ac2ba42a48c9533b4be12d8bd137cb2c
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri,  7 Dec 2018 20:59:19 +0100

fix prev

Diffstat:
Melectrum/address_synchronizer.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/electrum/address_synchronizer.py b/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()