diff --git a/config.go b/config.go index facbea6ac6..3bcc65dacd 100644 --- a/config.go +++ b/config.go @@ -911,7 +911,7 @@ func loadConfig() (*config, []string, error) { // Only allow TLS to be disabled if the RPC is bound to localhost // addresses. - if false && !cfg.DisableRPC && cfg.DisableTLS { + if !cfg.DisableRPC && cfg.DisableTLS { allowedTLSListeners := map[string]struct{}{ "localhost": {}, "127.0.0.1": {},