network: switch lagging interface
This commit is contained in:
parent
27e42b4826
commit
58a5346d72
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user