URI: 
       ton_network_update: check if channel is closed - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3dacc525e63570b835246ee06e1c97a08c81deee
   DIR parent 7be4cdaf18dd3bc0aab41e2c0d09b4d29bf992d6
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 29 May 2019 22:08:53 +0200
       
       on_network_update: check if channel is closed
       
       Diffstat:
         M electrum/lnworker.py                |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
       t@@ -577,6 +577,8 @@ class LNWallet(LNWorker):
                    if args[0] != lnwatcher:
                        return
                for chan in channels:
       +            if chan.is_closed():
       +                continue
                    if chan.get_state() in ["OPEN", "DISCONNECTED"] and self.is_dangerous(chan):
                        await self.force_close_channel(chan.channel_id)
                        continue