trestore minimum lag for server swiching - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e462ef48cdcbf71cef126ec473988a69fd306bbb DIR parent c18a49b8fe3bcf5eb71fd4ea98243fbf7a000bcb HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 3 Oct 2013 15:03:50 +0200 restore minimum lag for server swiching 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@@ -94,7 +94,7 @@ class Blockchain(threading.Thread): self.network.trigger_callback('updated') h = self.servers_height.get(self.network.interface.server) - if h is not None and h < height : + if h is not None and h < height - 1: print_error( "Server is lagging", height, h) if self.config.get('auto_cycle'): self.network.set_server(i.server)