From 488eef551fd6aa59c8e201f8ea6d246eac74c8a1 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 14 Apr 2022 20:57:51 -0400 Subject: [PATCH] Flag for the LND hex strings --- lnme.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lnme.go b/lnme.go index 8cef10b..0f1502a 100644 --- a/lnme.go +++ b/lnme.go @@ -230,7 +230,9 @@ func LoadConfig() *koanf.Koanf { f := flag.NewFlagSet("LnMe", flag.ExitOnError) f.String("lnd-address", "localhost:10009", "The host and port of the LND gRPC server.") f.String("lnd-macaroon-path", "~/.lnd/data/chain/bitcoin/mainnet/invoice.macaroon", "Path to the LND macaroon file.") + f.String("lnd-macaroon", "", "HEX string of LND macaroon file.") f.String("lnd-cert-path", "~/.lnd/tls.cert", "Path to the LND tls.cert file.") + f.String("lnd-cert", "", "HEX string of LND tls cert file.") f.Bool("disable-website", false, "Disable default embedded website.") f.Bool("disable-ln-address", false, "Disable Lightning Address handling") f.Bool("disable-cors", false, "Disable CORS headers.")