diff --git a/cgi-bin/lnurl.sh b/cgi-bin/lnurl.sh index b3701b6..3a5d222 100755 --- a/cgi-bin/lnurl.sh +++ b/cgi-bin/lnurl.sh @@ -59,7 +59,12 @@ done test "$comment" = "" || { label="$label-$comment"; desc="$comment"; } -PR=$(lightning-cli invoice "$amount" "$label" "$desc" | jq -r .bolt11) || { +PR=$(lightning-cli -k invoice \ + msatoshi="$amount" \ + label="$label" \ + description="$desc" \ + deschashonly=true \ + exposeprivatechannels="728591x176x1" | jq -r .bolt11) || { res 400 "Something wrong" text/plain "Something went wrong" }