From f3b3e3440bf1a5d6aaf8ef63159047bf13a1148d Mon Sep 17 00:00:00 2001 From: gohumble Date: Sun, 29 Aug 2021 23:28:26 +0200 Subject: [PATCH] fix meta data --- internal/lnurl/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lnurl/server.go b/internal/lnurl/server.go index a4f496f7..39598042 100644 --- a/internal/lnurl/server.go +++ b/internal/lnurl/server.go @@ -145,7 +145,7 @@ func (w Server) createInitialLNURLPayResponse(writer http.ResponseWriter, reques writer.WriteHeader(400) return } - metadata := lnurl.Metadata{{"text/identifier", fmt.Sprintf("%s@ln.tips", vars["username"])}, {"text/plain", fmt.Sprintf("Pay to %s@%s", vars["username"], w.callbackUrl)}} + metadata := lnurl.Metadata{{fmt.Sprintf("Pay to %s@%s", vars["username"], w.callbackUrl)}} jsonMeta, err := json.Marshal(metadata) if err != nil { writer.WriteHeader(400)