Browse Source

fix #2347 and return indentation

2.9.x
ThomasV 8 years ago
parent
commit
db13cf965c
  1. 2
      lib/network.py

2
lib/network.py

@ -779,7 +779,7 @@ class Network(util.DaemonThread):
'''Handle receiving a single block header''' '''Handle receiving a single block header'''
# close connection if header does not pass checkpoint # close connection if header does not pass checkpoint
if not self.blockchain.pass_checkpoint(response['result']): if not self.blockchain.pass_checkpoint(response['result']):
if interface == self.interface and not auto_connect: if interface == self.interface and not self.auto_connect:
interface.failed_checkpoint = True interface.failed_checkpoint = True
else: else:
interface.print_error("header did not pass checkpoint, dismissing interface") interface.print_error("header did not pass checkpoint, dismissing interface")

Loading…
Cancel
Save