This commit is contained in:
Gene Takavic 2022-12-15 16:46:49 +01:00
parent 90679f54ee
commit b8bd9cc807

View File

@ -114,7 +114,10 @@ async def lnurl_callback(
hit = await get_hit(k1)
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:
return {"status": "ERROR", "reason": "Payment already claimed"}
if not pr: