mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
fix callback name: request_status
This commit is contained in:
parent
87facaa781
commit
13317c2f51
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ class PayServer(Logger):
|
||||||
self.daemon = daemon
|
self.daemon = daemon
|
||||||
self.config = daemon.config
|
self.config = daemon.config
|
||||||
self.pending = defaultdict(asyncio.Event)
|
self.pending = defaultdict(asyncio.Event)
|
||||||
util.register_callback(self.on_payment, ['payment_received'])
|
util.register_callback(self.on_payment, ['request_status'])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def wallet(self):
|
def wallet(self):
|
||||||
|
|
|
@ -1623,7 +1623,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
|
||||||
addr = self.get_txout_address(txo)
|
addr = self.get_txout_address(txo)
|
||||||
if addr in self.receive_requests:
|
if addr in self.receive_requests:
|
||||||
status, conf = self.get_request_status(addr)
|
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):
|
def make_payment_request(self, addr, amount, message, expiration):
|
||||||
timestamp = int(time.time())
|
timestamp = int(time.time())
|
||||||
|
|
Loading…
Add table
Reference in a new issue