mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-05 11:18:36 +02:00
format
This commit is contained in:
@@ -114,7 +114,10 @@ async def lnurl_callback(
|
|||||||
hit = await get_hit(k1)
|
hit = await get_hit(k1)
|
||||||
|
|
||||||
if not hit:
|
if not hit:
|
||||||
return {"status": "ERROR", "reason": "Record not found for this charge (bad k1)"}
|
return {
|
||||||
|
"status": "ERROR",
|
||||||
|
"reason": "Record not found for this charge (bad k1)",
|
||||||
|
}
|
||||||
if hit.spent:
|
if hit.spent:
|
||||||
return {"status": "ERROR", "reason": "Payment already claimed"}
|
return {"status": "ERROR", "reason": "Payment already claimed"}
|
||||||
if not pr:
|
if not pr:
|
||||||
|
Reference in New Issue
Block a user