tUse network to get local height - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f30090a3215d1711eede3ba5b79b9db890ca06c0 DIR parent b5e0363f858a2fbf9c804c30fe6530741beb5d84 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Fri, 11 Sep 2015 14:03:44 +0900 Use network to get local height Diffstat: M lib/verifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/verifier.py b/lib/verifier.py t@@ -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