trevert 33b11422 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b53a8131111ec157d2426ffbd4585ff3f7c40367 DIR parent 1db4ef8b5c3be83a9706fce22436372612068436 HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 6 Mar 2015 21:46:30 +0100 revert 33b11422 Diffstat: M lib/network_proxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/network_proxy.py b/lib/network_proxy.py t@@ -190,7 +190,7 @@ class NetworkProxy(threading.Thread): return self.interfaces def get_header(self, height): - return self.synchronous_get([('network.get_header', [height])], timeout=0.1)[0] + return self.synchronous_get([('network.get_header', [height])])[0] def get_local_height(self): return self.blockchain_height t@@ -208,10 +208,10 @@ class NetworkProxy(threading.Thread): return self.unanswered_requests == {} def get_parameters(self): - return self.synchronous_get([('network.get_parameters', [])], timeout=0.1)[0] + return self.synchronous_get([('network.get_parameters', [])])[0] def set_parameters(self, *args): - return self.synchronous_get([('network.set_parameters', args)], timeout=0.1)[0] + return self.synchronous_get([('network.set_parameters', args)])[0] def stop(self): self.running = False