From 763e177fec641f45da8b20505c02c19705448b0d Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Thu, 14 Dec 2023 15:37:38 +0700 Subject: [PATCH] chore: comment out unused code --- service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.go b/service.go index 0bb7507b..f6def421 100644 --- a/service.go +++ b/service.go @@ -23,14 +23,14 @@ type Service struct { Logger *logrus.Logger } -var supportedMethods = map[string]bool{ +/*var supportedMethods = map[string]bool{ NIP_47_PAY_INVOICE_METHOD: true, NIP_47_GET_BALANCE_METHOD: true, NIP_47_GET_INFO_METHOD: true, NIP_47_MAKE_INVOICE_METHOD: true, NIP_47_LOOKUP_INVOICE_METHOD: true, NIP_47_LIST_TRANSACTIONS_METHOD: true, -} +}*/ func (svc *Service) GetUser(c echo.Context) (user *User, err error) { sess, _ := session.Get(CookieName, c)