mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-13 11:35:56 +01:00
refactor: remove remaining checks, as in #1280
This commit is contained in:
parent
4d7f1d44c4
commit
fca7e7bec3
2 changed files with 0 additions and 4 deletions
|
@ -19,8 +19,6 @@ async def wait_for_paid_invoices():
|
|||
|
||||
|
||||
async def on_invoice_paid(payment: Payment) -> None:
|
||||
if not payment.extra:
|
||||
return
|
||||
|
||||
if not payment.extra.get("refund"):
|
||||
return
|
||||
|
|
|
@ -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") != "charge":
|
||||
# not a charge invoice
|
||||
|
|
Loading…
Add table
Reference in a new issue