From 3ce725dd965cf2a0736c9638aeed8a302b0b15d8 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 16 Jun 2020 10:40:56 -0700 Subject: [PATCH] fix: upgrade warning to error --- core/node/libp2p/sec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/node/libp2p/sec.go b/core/node/libp2p/sec.go index e129448c460..9e4d6640e49 100644 --- a/core/node/libp2p/sec.go +++ b/core/node/libp2p/sec.go @@ -11,8 +11,7 @@ import ( func Security(enabled bool, tptConfig config.Transports) interface{} { if !enabled { return func() (opts Libp2pOpts) { - // TODO: shouldn't this be Errorf to guarantee visibility? - log.Warnf(`Your IPFS node has been configured to run WITHOUT ENCRYPTED CONNECTIONS. + log.Errorf(`Your IPFS node has been configured to run WITHOUT ENCRYPTED CONNECTIONS. You will not be able to connect to any nodes configured to use encrypted connections`) opts.Opts = append(opts.Opts, libp2p.NoSecurity) return opts