Skip to content

Commit 7f37329

Browse files
committed
format
1 parent ed125d3 commit 7f37329

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

views_api.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,7 @@ async def get_lnurldevice_payment_boltz(
280280
try:
281281
lnurldevicepayment.payload = payload
282282
lnurldevicepayment.payhash = "pending"
283-
lnurldevicepayment_updated = await update_lnurldevicepayment(
284-
lnurldevicepayment
285-
)
283+
lnurldevicepayment_updated = await update_lnurldevicepayment(lnurldevicepayment)
286284
assert lnurldevicepayment_updated
287285
async with httpx.AsyncClient() as client:
288286
response = await client.post(
@@ -299,8 +297,6 @@ async def get_lnurldevice_payment_boltz(
299297
return resp
300298
except Exception as exc:
301299
lnurldevicepayment.payhash = "payment_hash"
302-
lnurldevicepayment_updated = await update_lnurldevicepayment(
303-
lnurldevicepayment
304-
)
300+
lnurldevicepayment_updated = await update_lnurldevicepayment(lnurldevicepayment)
305301
assert lnurldevicepayment_updated
306302
return {"status": "ERROR", "reason": str(exc)}

0 commit comments

Comments
 (0)