electrum

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

commit 13317c2f5139f1f1873c7fae1861b5d3031b690d
parent 87facaa7818f6fa78c9d5c69742fd6cd225bff5a
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 10 May 2020 21:14:31 +0200

fix callback name: request_status

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

diff --git a/electrum/daemon.py b/electrum/daemon.py @@ -184,7 +184,7 @@ class PayServer(Logger): self.daemon = daemon self.config = daemon.config self.pending = defaultdict(asyncio.Event) - util.register_callback(self.on_payment, ['payment_received']) + util.register_callback(self.on_payment, ['request_status']) @property def wallet(self): 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('payment_received', self, addr, status) + util.trigger_callback('request_status', self, addr, status) def make_payment_request(self, addr, amount, message, expiration): timestamp = int(time.time())