tDo not wait wallet sync to reestablish channel (revert e32807d29d). - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit bddb0bfcdd1c89528d1e3938414ea0cde9e7bea7
DIR parent fe86f911100aeec1f3d5afcfdb5da1babbe4d98f
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 13 Apr 2020 11:28:42 +0200
Do not wait wallet sync to reestablish channel (revert e32807d29d).
Diffstat:
M electrum/lnworker.py | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
t@@ -1288,9 +1288,6 @@ class LNWallet(LNWorker):
async def reestablish_peers_and_channels(self):
while True:
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:
channels = list(self.channels.values())
for chan in channels: