URI: 
       tfollow-up previous commit - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0557738a6bc5f399178063b16776c405a7b905dd
   DIR parent c4ab1e6fad559d07b02cb8115302302b26abbff6
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri, 11 Oct 2019 12:54:00 +0200
       
       follow-up previous commit
       
       Diffstat:
         M electrum/lnchannel.py               |       2 +-
         M electrum/lnworker.py                |       1 +
       
       2 files changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py
       t@@ -574,7 +574,7 @@ class Channel(Logger):
                self.hm.send_settle(htlc_id)
        
            def get_payment_hash(self, htlc_id):
       -        log = self.hm.log[REMOTE]
       +        log = self.hm.log[LOCAL]
                htlc = log['adds'][htlc_id]
                return htlc.payment_hash
        
   DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
       t@@ -1029,6 +1029,7 @@ class LNWallet(LNWorker):
        
            async def await_payment(self, payment_hash):
                success = await self.pending_payments[payment_hash]
       +        self.pending_payments.pop(payment_hash)
                preimage = self.get_preimage(payment_hash)
                return success, preimage