Skip to content

Commit

Permalink
fixed msat error
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Oct 7, 2024
1 parent e5cc000 commit e4066b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views_lnurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ async def lnurl_params(

if atm:
try:
lnurldevicepayment, price_msat = await register_atm_payment(device, p)
lnurldevicepayment, price_msatl = await register_atm_payment(device, p)
if not lnurldevicepayment:
return {"status": "ERROR", "reason": "Could not create ATM payment."}
if not price_msat:
return {"status": "ERROR", "reason": "Could not create ATM payment."}
if price_msatl:
price_msat = price_msatl
return {
"tag": "withdrawRequest",
"callback": str(
Expand Down

0 comments on commit e4066b0

Please sign in to comment.