mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
rm dead code
This commit is contained in:
parent
8b0db38f87
commit
c5f552f26a
1 changed files with 0 additions and 11 deletions
|
@ -889,17 +889,6 @@ class Network(util.DaemonThread):
|
||||||
self.switch_lagging_interface()
|
self.switch_lagging_interface()
|
||||||
self.notify('updated')
|
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:
|
else:
|
||||||
raise BaseException(interface.mode)
|
raise BaseException(interface.mode)
|
||||||
# If not finished, get the next header
|
# If not finished, get the next header
|
||||||
|
|
Loading…
Add table
Reference in a new issue