trm dead code - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit c5f552f26aed5651c15e272078b2ce14e992936e
DIR parent 8b0db38f8740d2c81baf4ae0bcd8caefcc1bf46a
HTML Author: ThomasV <thomasv@electrum.org>
Date: Wed, 13 Sep 2017 15:12:50 +0200
rm dead code
Diffstat:
M lib/network.py | 11 -----------
1 file changed, 0 insertions(+), 11 deletions(-)
---
DIR diff --git a/lib/network.py b/lib/network.py
t@@ -889,17 +889,6 @@ class Network(util.DaemonThread):
self.switch_lagging_interface()
self.notify('updated')
- elif interface.mode == 'default':
- can_connect = interface.blockchain.can_connect(header)
- if not can_connect:
- interface.print_error("default: cannot connect %d"% height)
- interface.mode = 'backward'
- interface.bad = height
- interface.bad_header = header
- next_height = height - 1
- else:
- interface.print_error("we are ok", height, interface.request)
- next_height = None
else:
raise BaseException(interface.mode)
# If not finished, get the next header