Compare commits
2 Commits
e32a531c61
...
cab8b92b9d
Author | SHA1 | Date | |
---|---|---|---|
cab8b92b9d | |||
c27fed2ba5 |
@ -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),
|
||||||
"minSendable": MIN_SENDABLE_AMOUNT,
|
"maxSendable": MIN_SENDABLE_AMOUNT, // 1m sat
|
||||||
"maxSendable": MAX_SENDABLE_AMOUNT,
|
"minSendable": MAX_SENDABLE_AMOUNT, // 1 sat
|
||||||
"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