mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-14 22:49:50 +00:00
network: switch lagging interface
This commit is contained in:
parent
27e42b4826
commit
58a5346d72
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ class Interface(PrintError):
|
||||||
# in the simple case, height == self.tip+1
|
# in the simple case, height == self.tip+1
|
||||||
if height <= self.tip:
|
if height <= self.tip:
|
||||||
await self.sync_until(height)
|
await self.sync_until(height)
|
||||||
|
self.network.switch_lagging_interface()
|
||||||
|
|
||||||
async def sync_until(self, height, next_height=None):
|
async def sync_until(self, height, next_height=None):
|
||||||
if next_height is None:
|
if next_height is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue