commit 4dd479cf59a82066faedd8c0f0f816419ab31746
parent d56ec05b9bc381f0d5d443980215e208fc177b07
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 15 Feb 2016 15:58:08 +0100
server_is_lagging: return True if no height
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py
@@ -245,7 +245,7 @@ class Network(util.DaemonThread):
sh = self.get_server_height()
if not sh:
self.print_error('no height for main interface')
- return False
+ return True
lh = self.get_local_height()
result = (lh - sh) > 1
if result: