URI: 
       tfollow-up previous commit - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 471fdd1d97f2654f11c462e88c1018fb4799668d
   DIR parent 2a7b5081c911a4679d3fa34469aea786a20d1c61
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri, 14 Feb 2020 13:37:45 +0100
       
       follow-up previous commit
       
       Diffstat:
         M electrum/lnworker.py                |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
       t@@ -706,12 +706,14 @@ class LNWallet(LNWorker):
                if not chan:
                    return
        
       +        # fixme: this is wasteful
       +        self.channel_timestamps[bh2u(chan.channel_id)] = funding_txid, funding_height.height, funding_height.timestamp, closing_txid, closing_height.height, closing_height.timestamp
       +
                # remove from channel_db
                if chan.short_channel_id is not None:
                    self.channel_db.remove_channel(chan.short_channel_id)
        
                if chan.get_state() < channel_states.CLOSED:
       -            self.channel_timestamps[bh2u(chan.channel_id)] = funding_txid, funding_height.height, funding_height.timestamp, closing_txid, closing_height.height, closing_height.timestamp
                    chan.set_state(channel_states.CLOSED)
        
                if chan.get_state() == channel_states.CLOSED and not keep_watching: