URI: 
       trestore log lines for send_commitment, on_commitment_signed - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3d0c1dbd5cadce5fbc24722d0426c4c25a40915c
   DIR parent 87fe2c7d7adfb3205c3136a90b3fb65749f232a6
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 26 Feb 2020 19:14:49 +0100
       
       restore log lines for send_commitment, on_commitment_signed
       
       Diffstat:
         M electrum/lnpeer.py                  |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
       t@@ -1015,6 +1015,7 @@ class Peer(Logger):
                # if there are no changes, we will not (and must not) send a new commitment
                if not chan.has_pending_changes(REMOTE):
                    return
       +        self.logger.info(f'send_commitment. chan {chan.short_channel_id}. ctn: {chan.get_next_ctn(REMOTE)}.')
                sig_64, htlc_sigs = chan.sign_next_commitment()
                self.send_message("commitment_signed", channel_id=chan.channel_id, signature=sig_64, num_htlcs=len(htlc_sigs), htlc_signature=b"".join(htlc_sigs))
        
       t@@ -1079,6 +1080,7 @@ class Peer(Logger):
                chan = self.channels[channel_id]
                if chan.peer_state == peer_states.BAD:
                    return
       +        self.logger.info(f'on_commitment_signed. chan {chan.short_channel_id}. ctn: {chan.get_next_ctn(LOCAL)}.')
                # make sure there were changes to the ctx, otherwise the remote peer is misbehaving
                if not chan.has_pending_changes(LOCAL):
                    # TODO if feerate changed A->B->A; so there were updates but the value is identical,