This commit is contained in:
ThomasV 2017-09-13 14:54:52 +02:00
parent f1ab3b6097
commit 8b0db38f87
1 changed files with 2 additions and 1 deletions

View File

@ -890,7 +890,8 @@ class Network(util.DaemonThread):
self.notify('updated')
elif interface.mode == 'default':
if not ok:
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