black formatting

This commit is contained in:
Kristjan 2021-01-02 22:56:36 +01:00
parent 10414be0d2
commit dc4a786dda

View File

@ -26,7 +26,7 @@ async def on_invoice_paid(payment: Payment) -> None:
if "lnsubdomain" != payment.extra.get("tag"):
# not an lnurlp invoice
return
await payment.set_pending(False)
subdomain = await set_subdomain_paid(payment_hash=payment.payment_hash)
domain = await get_domain(subdomain.domain)