commit 4fed27610a24a6181f2edd62e35a7a806908230f
parent 86b1273ec0c4a68908d49262b3faceb12e607eed
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 11 Apr 2018 19:28:58 +0200
wallet.py: load unverified_tx in __init__
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -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()
@@ -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:
@@ -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)