electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit e2c2c8998870ac48230890c3d9adc56838d67eb5
parent 0070e5036c1c54c2bd29911de218e92709e9795a
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 10 May 2020 22:11:09 +0200

follow-up prev

Diffstat:
Melectrum/daemon.py | 2+-
Melectrum/lnworker.py | 2+-
Melectrum/wallet.py | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/electrum/daemon.py b/electrum/daemon.py @@ -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() diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -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]): diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -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())