File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,7 @@ async def get_lnurldevice_payment_boltz(
280
280
try :
281
281
lnurldevicepayment .payload = payload
282
282
lnurldevicepayment .payhash = "pending"
283
- lnurldevicepayment_updated = await update_lnurldevicepayment (
284
- lnurldevicepayment
285
- )
283
+ lnurldevicepayment_updated = await update_lnurldevicepayment (lnurldevicepayment )
286
284
assert lnurldevicepayment_updated
287
285
async with httpx .AsyncClient () as client :
288
286
response = await client .post (
@@ -299,8 +297,6 @@ async def get_lnurldevice_payment_boltz(
299
297
return resp
300
298
except Exception as exc :
301
299
lnurldevicepayment .payhash = "payment_hash"
302
- lnurldevicepayment_updated = await update_lnurldevicepayment (
303
- lnurldevicepayment
304
- )
300
+ lnurldevicepayment_updated = await update_lnurldevicepayment (lnurldevicepayment )
305
301
assert lnurldevicepayment_updated
306
302
return {"status" : "ERROR" , "reason" : str (exc )}
You can’t perform that action at this time.
0 commit comments