mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
Do not wait wallet sync to reestablish channel (revert e32807d29d
).
This commit is contained in:
parent
fe86f91110
commit
bddb0bfcdd
1 changed files with 0 additions and 3 deletions
|
@ -1288,9 +1288,6 @@ class LNWallet(LNWorker):
|
||||||
async def reestablish_peers_and_channels(self):
|
async def reestablish_peers_and_channels(self):
|
||||||
while True:
|
while True:
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
# wait until on-chain state is synchronized
|
|
||||||
if not (self.wallet.is_up_to_date() and self.lnwatcher.is_up_to_date()):
|
|
||||||
continue
|
|
||||||
with self.lock:
|
with self.lock:
|
||||||
channels = list(self.channels.values())
|
channels = list(self.channels.values())
|
||||||
for chan in channels:
|
for chan in channels:
|
||||||
|
|
Loading…
Add table
Reference in a new issue