diff --git a/lib/network.py b/lib/network.py index b2c6f1329..75619b924 100644 --- a/lib/network.py +++ b/lib/network.py @@ -893,6 +893,9 @@ class Network(util.DaemonThread): interface.bad_header = header delta = interface.tip - height next_height = max(self.max_checkpoint(), interface.tip - 2 * delta) + if height == next_height: + self.connection_down(interface.server) + next_height = None elif interface.mode == 'binary': if chain: