tidy lnurlp fields

This commit is contained in:
Peter Rounce 2022-09-17 07:14:21 +00:00
parent e3c75d885f
commit c368c1ef16
2 changed files with 5 additions and 4 deletions

View file

@ -41,7 +41,7 @@ func lnurlp_response(w http.ResponseWriter, r *http.Request) {
return
}
metadata := "[[\\\"text/identifier\\\",\\\"" + name + "@" + domain + "\\\"],[\\\"text/plain\\\",\\\"" + name + "@" + domain + "\\\"]]"
metadata := "[[\\\"text/identifier\\\",\\\"" + name + "@" + domain + "\\\"],[\\\"text/plain\\\",\\\"bolt card deposit\\\"]]"
jsonData := []byte(`{"status":"OK",` +
`"callback":"https://` + domain + `/lnurlp/` + name + `",` +