mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
wallet.py: load unverified_tx in __init__
This commit is contained in:
parent
86b1273ec0
commit
4fed27610a
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue