mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
Use network to get local height
This commit is contained in:
parent
b5e0363f85
commit
f30090a321
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class SPV(ThreadJob):
|
||||||
self.merkle_roots = {}
|
self.merkle_roots = {}
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
lh = self.wallet.get_local_height()
|
lh = self.network.get_local_height()
|
||||||
unverified = self.wallet.get_unverified_txs()
|
unverified = self.wallet.get_unverified_txs()
|
||||||
for tx_hash, tx_height in unverified.items():
|
for tx_hash, tx_height in unverified.items():
|
||||||
# do not request merkle branch before headers are available
|
# do not request merkle branch before headers are available
|
||||||
|
|
Loading…
Add table
Reference in a new issue