Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Jul 7, 2023
1 parent aea60a5 commit 1669a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def lnurl_params(
price_msat = int(price_msat * (1 - (device.profit / 100)) / 1000)
lnurldevicepayment = await get_lnurldevicepayment_by_p(p)
if lnurldevicepayment:
if lnurldevicepayment.payload == lnurldevicepayment.payhash
if lnurldevicepayment.payload == lnurldevicepayment.payhash:
return {"status": "ERROR", "reason": "Payment already claimed"}
try:
lnurldevicepayment = await create_lnurldevicepayment(
Expand Down

0 comments on commit 1669a1d

Please sign in to comment.