URI: 
       tfollow-up prev - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit e2c2c8998870ac48230890c3d9adc56838d67eb5
   DIR parent 0070e5036c1c54c2bd29911de218e92709e9795a
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sun, 10 May 2020 22:11:09 +0200
       
       follow-up prev
       
       Diffstat:
         M electrum/daemon.py                  |       2 +-
         M electrum/lnworker.py                |       2 +-
         M electrum/wallet.py                  |       2 +-
       
       3 files changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/daemon.py b/electrum/daemon.py
       t@@ -191,7 +191,7 @@ class PayServer(Logger):
                # FIXME specify wallet somehow?
                return list(self.daemon.get_wallets().values())[0]
        
       -    async def on_payment(self, evt, wallet, key, status):
       +    async def on_payment(self, evt, key, status):
                if status == PR_PAID:
                    self.pending[key].set()
        
   DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
       t@@ -1207,7 +1207,7 @@ class LNWallet(LNWorker):
        
            def payment_received(self, chan, payment_hash: bytes):
                self.set_payment_status(payment_hash, PR_PAID)
       -        util.trigger_callback('request_status', self.wallet, payment_hash.hex(), PR_PAID)
       +        util.trigger_callback('request_status', payment_hash.hex(), PR_PAID)
                util.trigger_callback('ln_payment_completed', payment_hash, chan.channel_id)
        
            async def _calc_routing_hints_for_invoice(self, amount_sat: Optional[int]):
   DIR diff --git a/electrum/wallet.py b/electrum/wallet.py
       t@@ -1623,7 +1623,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
                    addr = self.get_txout_address(txo)
                    if addr in self.receive_requests:
                        status, conf = self.get_request_status(addr)
       -                util.trigger_callback('request_status', self, addr, status)
       +                util.trigger_callback('request_status', addr, status)
        
            def make_payment_request(self, addr, amount, message, expiration):
                timestamp = int(time.time())