Merge pull request #4993 from rockstardev/patch-1

fix: correct no-rest-tls parameter in error message
This commit is contained in:
Johan T. Halseth
2021-02-08 13:47:55 +01:00
committed by GitHub

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)
}
}