commit f30090a3215d1711eede3ba5b79b9db890ca06c0
parent b5e0363f858a2fbf9c804c30fe6530741beb5d84
Author: Neil Booth <kyuupichan@gmail.com>
Date: Fri, 11 Sep 2015 14:03:44 +0900
Use network to get local height
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/verifier.py b/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