electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit ad8a6f3effcd94388c5c7864567dc0a6bb23ac03
parent feb0f483f5e070a678bdb10a713bfad4cb144b2e
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 19 Jul 2017 17:33:05 +0200

fix: do not request beyond tip

Diffstat:
Mlib/network.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -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: