URI: 
       tlnchan: follow-up "replace properties with functions" - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit bc729664429aecf692b6f7a4fb02ece560358b34
   DIR parent 88c6eeb9667c1d8609cd8ec9170cb1b115fb08eb
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed, 21 Nov 2018 17:35:53 +0100
       
       lnchan: follow-up "replace properties with functions"
       
       Diffstat:
         M electrum/lnbase.py                  |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/lnbase.py b/electrum/lnbase.py
       t@@ -512,7 +512,7 @@ class Peer(PrintError):
                chan.receive_new_commitment(remote_sig, [])
                # broadcast funding tx
                await self.network.broadcast_transaction(funding_tx)
       -        chan.remote_commitment_to_be_revoked = chan.pending_remote_commitment()
       +        chan.remote_commitment_to_be_revoked = chan.pending_commitment(REMOTE)
                chan.config[REMOTE] = chan.config[REMOTE]._replace(ctn=0)
                chan.config[LOCAL] = chan.config[LOCAL]._replace(ctn=0, current_commitment_signature=remote_sig)
                chan.set_state('OPENING')
       t@@ -598,7 +598,7 @@ class Peer(PrintError):
                    signature=sig_64,
                )
                chan.set_state('OPENING')
       -        chan.remote_commitment_to_be_revoked = chan.pending_remote_commitment()
       +        chan.remote_commitment_to_be_revoked = chan.pending_commitment(REMOTE)
                chan.config[REMOTE] = chan.config[REMOTE]._replace(ctn=0)
                chan.config[LOCAL] = chan.config[LOCAL]._replace(ctn=0, current_commitment_signature=remote_sig)
                self.lnworker.save_channel(chan)