fix: correct no-rest-tls parameter in error message

This commit is contained in:
rockstardev authored and GitHub committed 2021-02-07 13:22:53 -06:00
1 parent a5aeca8ca2
commit 57ac57ea66
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}
}