Compare commits
2 Commits
cab8b92b9d
...
e32a531c61
Author | SHA1 | Date | |
---|---|---|---|
e32a531c61 | |||
7f632c1c98 |
@ -32,8 +32,8 @@ func payRequest(c echo.Context) error {
|
|||||||
http.StatusOK,
|
http.StatusOK,
|
||||||
map[string]any{
|
map[string]any{
|
||||||
"callback": fmt.Sprintf("%s/.well-known/lnurlp/%s/pay", env.PublicUrl, name),
|
"callback": fmt.Sprintf("%s/.well-known/lnurlp/%s/pay", env.PublicUrl, name),
|
||||||
"maxSendable": MIN_SENDABLE_AMOUNT, // 1m sat
|
"minSendable": MIN_SENDABLE_AMOUNT,
|
||||||
"minSendable": MAX_SENDABLE_AMOUNT, // 1 sat
|
"maxSendable": MAX_SENDABLE_AMOUNT,
|
||||||
"metadata": fmt.Sprintf("[[\"text/plain\",\"paying %s\"]]", name),
|
"metadata": fmt.Sprintf("[[\"text/plain\",\"paying %s\"]]", name),
|
||||||
"tag": "payRequest",
|
"tag": "payRequest",
|
||||||
"commentAllowed": MAX_COMMENT_LENGTH,
|
"commentAllowed": MAX_COMMENT_LENGTH,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user