mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 10:15: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.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):
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue