tfix: do not request beyond tip - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ad8a6f3effcd94388c5c7864567dc0a6bb23ac03 DIR parent feb0f483f5e070a678bdb10a713bfad4cb144b2e HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 19 Jul 2017 17:33:05 +0200 fix: do not request beyond tip 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@@ -995,7 +995,7 @@ class Network(util.DaemonThread): interface.mode = 'backward' interface.bad = height interface.bad_header = header - self.request_header(interface, tip) + self.request_header(interface, min(tip, height - 1)) else: chain = self.blockchains[0] if chain.catch_up is None: