URI: 
       tuse to_dict (follow-up baa03a469f3e0e0ae61593272f5cb7e2483d49ad) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 320dc297326870c61ec0a2038eec7c9d4ab9b29a
   DIR parent 9cbf55f977742accd5374ca47f5e1abe9ac7b4d0
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 17 Jan 2019 12:35:14 +0100
       
       use to_dict (follow-up baa03a469f3e0e0ae61593272f5cb7e2483d49ad)
       
       Diffstat:
         M electrum/lnchan.py                  |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/electrum/lnchan.py b/electrum/lnchan.py
       t@@ -473,10 +473,10 @@ class Channel(PrintError):
                    return
                outpoint = self.funding_outpoint.to_str()
                ctx = self.remote_commitment_to_be_revoked  # FIXME can't we just reconstruct it?
       -        encumbered_sweeptxs = create_sweeptxs_for_their_just_revoked_ctx(self, ctx, per_commitment_secret, self.sweep_address)
       -        for prev_txid, encumbered_tx in encumbered_sweeptxs.items():
       -            if encumbered_tx is not None:
       -                self.lnwatcher.add_sweep_tx(outpoint, prev_txid, encumbered_tx.to_json())
       +        sweeptxs = create_sweeptxs_for_their_just_revoked_ctx(self, ctx, per_commitment_secret, self.sweep_address)
       +        for prev_txid, tx in sweeptxs.items():
       +            if tx is not None:
       +                self.lnwatcher.add_sweep_tx(outpoint, prev_txid, tx.to_dict())
        
            def receive_revocation(self, revocation) -> Tuple[int, int]:
                self.print_error("receive_revocation")