mirror of
https://github.com/aljazceru/satdress.git
synced 2025-12-17 05:24:20 +01:00
test invoice has pin in its description.
fixes https://github.com/fiatjaf/satdress/issues/12
This commit is contained in:
2
lnurl.go
2
lnurl.go
@@ -45,7 +45,7 @@ func handleLNURL(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
bolt11, err := makeInvoice(params, msat)
|
||||
bolt11, err := makeInvoice(params, msat, nil)
|
||||
if err != nil {
|
||||
json.NewEncoder(w).Encode(
|
||||
lnurl.ErrorResponse("failed to create invoice: " + err.Error()))
|
||||
|
||||
Reference in New Issue
Block a user