Skip to content

Commit

Permalink
fix meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed Aug 29, 2021
1 parent 23785a6 commit f3b3e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lnurl/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (w Server) createInitialLNURLPayResponse(writer http.ResponseWriter, reques
writer.WriteHeader(400)
return
}
metadata := lnurl.Metadata{{"text/identifier", fmt.Sprintf("%[email protected]", 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)
Expand Down

0 comments on commit f3b3e34

Please sign in to comment.