URI: 
       tfollow-up prev commit - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit fd48b96335b6466ebaf270b2cc3c734e200e30d1
   DIR parent 308b02ca7dc2427583a32784f6bde4dec08d1069
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Mon,  8 Mar 2021 17:45:00 +0100
       
       follow-up prev commit
       
       Diffstat:
         M electrum/lnworker.py                |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
       t@@ -1712,15 +1712,16 @@ class LNWallet(LNWorker):
                        amount_sent, amount_failed = self.sent_buckets[payment_secret]
                        amount_failed += amount_receiver_msat
                        self.sent_buckets[payment_secret] = amount_sent, amount_failed
       -                if amount_sent == amount_failed:
       +                if amount_sent != amount_failed:
                            self.logger.info('bucket still active...')
                            return
                        self.logger.info('bucket failed')
       +                amount_receiver_msat = amount_sent
        
                    htlc_log = HtlcLog(
                        success=False,
                        route=route,
       -                amount_msat=amount_sent,
       +                amount_msat=amount_receiver_msat,
                        error_bytes=error_bytes,
                        failure_msg=failure_message,
                        sender_idx=sender_idx)