URI: 
       tfix prev - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0070ae1fb16a71b9b101fde6f24884cdb4959108
   DIR parent 595cfcbb65ec7303656d3d5a5b2e1182a7188fcb
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed, 21 Nov 2018 17:33:06 +0100
       
       fix prev
       
       Diffstat:
         M electrum/lnsweep.py                 |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/lnsweep.py b/electrum/lnsweep.py
       t@@ -76,7 +76,7 @@ def create_sweeptxs_for_their_just_revoked_ctx(chan: 'Channel', ctx: Transaction
            if sweep_tx:
                txs.append((None, EncumberedTransaction('their_ctx_to_local', sweep_tx, csv_delay=0, cltv_expiry=0)))
            # HTLCs
       -    def create_sweeptx_for_htlc(htlc: UpdateAddHtlc, is_received_htlc: bool) -> Tuple[Optional[Transaction],
       +    def create_sweeptx_for_htlc(htlc: 'UpdateAddHtlc', is_received_htlc: bool) -> Tuple[Optional[Transaction],
                                                                                              Optional[Transaction],
                                                                                              Transaction]:
                htlc_tx_witness_script, htlc_tx = make_htlc_tx_with_open_channel(chan=chan,
       t@@ -154,7 +154,7 @@ def create_sweeptxs_for_our_latest_ctx(chan: 'Channel', ctx: Transaction,
            if sweep_tx:
                txs.append((None, EncumberedTransaction('our_ctx_to_local', sweep_tx, csv_delay=to_self_delay, cltv_expiry=0)))
            # HTLCs
       -    def create_txns_for_htlc(htlc: UpdateAddHtlc, is_received_htlc: bool) -> Tuple[Optional[Transaction], Optional[Transaction]]:
       +    def create_txns_for_htlc(htlc: 'UpdateAddHtlc', is_received_htlc: bool) -> Tuple[Optional[Transaction], Optional[Transaction]]:
                if is_received_htlc:
                    try:
                        preimage, invoice = chan.get_preimage_and_invoice(htlc.payment_hash)
       t@@ -258,7 +258,7 @@ def create_sweeptxs_for_their_latest_ctx(chan: 'Channel', ctx: Transaction,
            # to handle the breach already; out of scope here)
            if ctn not in (this_conf.ctn, this_conf.ctn + 1):
                return txs
       -    def create_sweeptx_for_htlc(htlc: UpdateAddHtlc, is_received_htlc: bool) -> Optional[Transaction]:
       +    def create_sweeptx_for_htlc(htlc: 'UpdateAddHtlc', is_received_htlc: bool) -> Optional[Transaction]:
                if not is_received_htlc:
                    try:
                        preimage, invoice = chan.get_preimage_and_invoice(htlc.payment_hash)