add emails to lnurlw & lnurlp

This commit is contained in:
Peter Rounce 2022-09-20 02:59:14 +00:00
parent 8d01474d5f
commit a42feca90d
8 changed files with 594 additions and 16 deletions

View file

@ -205,8 +205,8 @@ func parse_request(req *http.Request) (int, error) {
// check if card is enabled
if c.enable_flag != "Y" {
return 0, errors.New("card enable is not set to Y")
if c.lnurlw_enable != "Y" {
return 0, errors.New("card lnurlw enable is not set to Y")
}
// check cmac