URI: 
       tfix watchtower: sweep_tx must not be None - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit dff1822c370f0ee19dc3945ba741a30939e123d6
   DIR parent d477e3489f88c26ea633187647aea0606c01fdf0
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sat,  8 Jun 2019 18:37:15 +0200
       
       fix watchtower: sweep_tx must not be None
       
       Diffstat:
         M electrum/lnsweep.py                 |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/lnsweep.py b/electrum/lnsweep.py
       t@@ -55,7 +55,8 @@ def create_sweeptxs_for_their_revoked_ctx(chan: 'Channel', ctx: Transaction, per
                    witness_script=witness_script,
                    privkey=other_revocation_privkey,
                    is_revocation=True)
       -        txs.append(sweep_tx)
       +        if sweep_tx:
       +            txs.append(sweep_tx)
            # HTLCs
            def create_sweeptx_for_htlc(htlc: 'UpdateAddHtlc', is_received_htlc: bool) -> Tuple[Optional[Transaction],
                                                                                              Optional[Transaction],