add emails to lnurlw & lnurlp
This commit is contained in:
parent
8d01474d5f
commit
a42feca90d
8 changed files with 594 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue