Update lnbits/extensions/splitpayments/tasks.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
co-authored by
calle
parent
bc0d86c771
commit
aaecb2b381
@@ -20,8 +20,6 @@ async def wait_for_paid_invoices():
|
|||||||
|
|
||||||
|
|
||||||
async def on_invoice_paid(payment: Payment) -> None:
|
async def on_invoice_paid(payment: Payment) -> None:
|
||||||
if not payment.extra:
|
|
||||||
return
|
|
||||||
|
|
||||||
if payment.extra.get("tag") == "splitpayments" or payment.extra.get("splitted"):
|
if payment.extra.get("tag") == "splitpayments" or payment.extra.get("splitted"):
|
||||||
# already a splitted payment, ignore
|
# already a splitted payment, ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user