ttry to fix issue #1682 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 6f72fa4e94434950d56a556d7c30b3ac855631ca DIR parent 9510f220399655b2835a71c724337b7cd02c39a4 HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 21 Feb 2016 17:42:33 +0100 ttry to fix issue #1682 Diffstat: M lib/network.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -136,8 +136,7 @@ class Network(util.DaemonThread): - Member functions get_header(), get_interfaces(), get_local_height(), get_parameters(), get_server_height(), get_status_value(), - is_connected(), new_blockchain_height(), set_parameters(), - stop() + is_connected(), set_parameters(), stop() """ def __init__(self, config=None): t@@ -465,10 +464,6 @@ class Network(util.DaemonThread): self.recent_servers = self.recent_servers[0:20] self.save_recent_servers() - def new_blockchain_height(self, blockchain_height, i): - self.switch_lagging_interface(i.server) - self.notify('updated') - def process_response(self, interface, response, callbacks): if self.debug: self.print_error("<--", response) t@@ -704,6 +699,7 @@ class Network(util.DaemonThread): if next_height in [True, False]: self.bc_requests.popleft() if next_height: + self.switch_lagging_interface(interface) self.notify('updated') else: interface.print_error("header didn't connect, dismissing interface")