tinterface: init ping_time with 0 so that the client sends version message - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5c73bc5bc7b331b773d78761da505b20fd9db4c1 DIR parent 2104e96a66ed2a7fc2ac36a24b421d92d58a928a HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 19 May 2015 11:28:30 +0200 interface: init ping_time with 0 so that the client sends version message Diffstat: M lib/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -67,7 +67,7 @@ class TcpInterface(threading.Thread): self.unanswered_requests = {} # request timeouts self.request_time = time.time() - self.ping_time = time.time() + self.ping_time = 0 # parse server self.server = server self.host, self.port, self.protocol = self.server.split(':')