mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-04 18:33:10 +02:00
add prusnak suggestion
This commit is contained in:
@@ -20,7 +20,9 @@ async def wait_for_paid_invoices():
|
||||
|
||||
|
||||
async def on_invoice_paid(payment: Payment) -> None:
|
||||
if not payment.extra or payment.extra.get("tag") != "tpos":
|
||||
if not payment.extra:
|
||||
return
|
||||
if payment.extra.get("tag") != "tpos":
|
||||
return
|
||||
|
||||
tipAmount = payment.extra.get("tipAmount")
|
||||
|
Reference in New Issue
Block a user