From 6a5e0885dac803163c8fb046dd478ccc1dfd0e23 Mon Sep 17 00:00:00 2001 From: rkfg Date: Sat, 20 Aug 2022 18:22:19 +0300 Subject: [PATCH] Make tls path optional --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 631b883..0a1dc1f 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( var params struct { Connect string `short:"c" long:"connect" description:"connect to lnd using host:port" default:"127.0.0.1:10009"` - TLSCert string `short:"t" long:"tlscert" description:"path to tls.cert to connect" default:"tls.cert"` + TLSCert string `short:"t" long:"tlscert" description:"path to tls.cert to connect" required:"false"` MacaroonDir string `long:"macaroon.dir" description:"path to the macaroon directory" required:"false"` MacaroonFilename string `long:"macaroon.filename" description:"macaroon filename" default:"admin.macaroon"` Network string `short:"n" long:"network" description:"bitcoin network to use" default:"mainnet"`