twallet.py: load unverified_tx in __init__ - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4fed27610a24a6181f2edd62e35a7a806908230f DIR parent 86b1273ec0c4a68908d49262b3faceb12e607eed HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 11 Apr 2018 19:28:58 +0200 wallet.py: load unverified_tx in __init__ Diffstat: M lib/wallet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -216,6 +216,7 @@ class Abstract_Wallet(PrintError): self.test_addresses_sanity() self.load_transactions() self.check_history() + self.load_unverified_transactions() self.load_local_history() self.build_spent_outpoints() t@@ -1285,7 +1286,7 @@ class Abstract_Wallet(PrintError): return True return False - def prepare_for_verifier(self): + def load_unverified_transactions(self): # review transactions that are in the history for addr, hist in self.history.items(): for tx_hash, tx_height in hist: t@@ -1294,8 +1295,6 @@ class Abstract_Wallet(PrintError): def start_threads(self, network): self.network = network - # prepare self.unverified_tx regardless of network - self.prepare_for_verifier() if self.network is not None: self.verifier = SPV(self.network, self) self.synchronizer = Synchronizer(self, network)