Browse Source

Use network to get local height

283
Neil Booth 9 years ago
parent
commit
f30090a321
  1. 2
      lib/verifier.py

2
lib/verifier.py

@ -32,7 +32,7 @@ class SPV(ThreadJob):
self.merkle_roots = {}
def run(self):
lh = self.wallet.get_local_height()
lh = self.network.get_local_height()
unverified = self.wallet.get_unverified_txs()
for tx_hash, tx_height in unverified.items():
# do not request merkle branch before headers are available

Loading…
Cancel
Save