tserver_is_lagging: return True if no height - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 4dd479cf59a82066faedd8c0f0f816419ab31746
DIR parent d56ec05b9bc381f0d5d443980215e208fc177b07
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 15 Feb 2016 15:58:08 +0100
server_is_lagging: return True if no height
Diffstat:
M lib/network.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/network.py b/lib/network.py
t@@ -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: