Merge pull request #1280 from prusnak/unify-payment-extra

make payment.extra non-optional
This commit is contained in:
calle
2023-01-05 13:04:21 +01:00
committed by GitHub
13 changed files with 16 additions and 25 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment):
if not payment.extra or payment.extra.get("tag") != "lnurlp":
if payment.extra.get("tag") != "lnurlp":
return
if payment.extra.get("wh_status"):