From 57ac57ea66c48fc7c147d5a94c15354fad816b44 Mon Sep 17 00:00:00 2001 From: rockstardev <5191402+rockstardev@users.noreply.github.com> Date: Sun, 7 Feb 2021 13:22:53 -0600 Subject: [PATCH] fix: correct no-rest-tls parameter in error message --- lncfg/address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lncfg/address.go b/lncfg/address.go index 84a90ce9..986a8905 100644 --- a/lncfg/address.go +++ b/lncfg/address.go @@ -74,7 +74,7 @@ func EnforceSafeAuthentication(addrs []net.Addr, macaroonsActive, return fmt.Errorf("detected RPC server listening on "+ "publicly reachable interface %v with "+ "encryption disabled! Refusing to start "+ - "with --notls specified", addr) + "with --no-rest-tls specified", addr) } }