tblockchain: restore call to set_local_height, forgotten in previous commit - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ec9cdfaf48781356ad51db836c2336681d7c2caa DIR parent d09a10e0f72c9360fa1acace87e7331d05fe3daf HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 13 Jun 2015 16:45:42 +0200 blockchain: restore call to set_local_height, forgotten in previous commit Diffstat: M lib/blockchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/blockchain.py b/lib/blockchain.py t@@ -40,6 +40,7 @@ class Blockchain(util.DaemonThread): def run(self): self.init_headers_file() + self.set_local_height() self.print_error("%d blocks" % self.local_height) while self.is_running(): t@@ -166,7 +167,6 @@ class Blockchain(util.DaemonThread): filename = self.path() if os.path.exists(filename): return - try: import urllib, socket socket.setdefaulttimeout(30)