Merge branch 'master' into StreamerCopilot
This commit is contained in:
commit
06f05c75bb
|
@ -20,6 +20,7 @@ async def wait_for_paid_invoices(invoice_paid_chan: trio.MemoryReceiveChannel):
|
|||
async for payment in invoice_paid_chan:
|
||||
await on_invoice_paid(payment)
|
||||
|
||||
|
||||
async def on_invoice_paid(payment: Payment) -> None:
|
||||
if "lnticket" != payment.extra.get("tag"):
|
||||
# not a lnticket invoice
|
||||
|
@ -33,4 +34,4 @@ async def on_invoice_paid(payment: Payment) -> None:
|
|||
await payment.set_pending(False)
|
||||
await set_ticket_paid(payment.payment_hash)
|
||||
_ticket = await get_ticket(payment.checking_id)
|
||||
print('ticket', _ticket)
|
||||
print("ticket", _ticket)
|
||||
|
|
|
@ -29,5 +29,5 @@ async def display(form_id):
|
|||
form_name=form.name,
|
||||
form_desc=form.description,
|
||||
form_costpword=form.costpword,
|
||||
form_wallet=wallet.inkey
|
||||
form_wallet=wallet.inkey,
|
||||
)
|
||||
|
|
|
@ -98,7 +98,6 @@ async def api_lnurl_callback(unique_hash):
|
|||
HTTPStatus.OK,
|
||||
)
|
||||
|
||||
|
||||
try:
|
||||
usescsv = ""
|
||||
for x in range(1, link.uses - link.used):
|
||||
|
|
Loading…
Reference in New Issue
Block a user