Pass wallet to invoice_status/request_status (#6595)
* Pass wallet to invoice_status/request_status * Check for same wallet in qt gui Co-authored-by: ghost43 <somber.night@protonmail.com>
This commit is contained in:
@@ -318,7 +318,7 @@ class PayServer(Logger):
|
||||
# FIXME specify wallet somehow?
|
||||
return list(self.daemon.get_wallets().values())[0]
|
||||
|
||||
async def on_payment(self, evt, key, status):
|
||||
async def on_payment(self, evt, wallet, key, status):
|
||||
if status == PR_PAID:
|
||||
self.pending[key].set()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user