This commit is contained in:
callebtc 2022-11-24 15:25:37 +01:00
parent 0d48110783
commit 179ac940e2

View file

@ -28,6 +28,6 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment) -> None:
if not payment.extra.get("tag") == "cashu":
if payment.extra and not payment.extra.get("tag") == "cashu":
return
return