network: switch lagging interface

This commit is contained in:
SomberNight 2018-09-16 07:59:36 +02:00
parent 27e42b4826
commit 58a5346d72
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -394,6 +394,7 @@ class Interface(PrintError):
# in the simple case, height == self.tip+1
if height <= self.tip:
await self.sync_until(height)
self.network.switch_lagging_interface()
async def sync_until(self, height, next_height=None):
if next_height is None: