Update lnbits/extensions/livestream/tasks.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
Tiago Vasconcelos 2023-01-06 11:29:38 +00:00 committed by GitHub
parent aaecb2b381
commit 8bb801ac99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,6 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment) -> None:
if not payment.extra:
return
if payment.extra.get("tag") != "livestream":
# not a livestream invoice