diff --git a/core/node/libp2p/sec.go b/core/node/libp2p/sec.go index 9e4d6640e49a..8d6fde0008a0 100644 --- a/core/node/libp2p/sec.go +++ b/core/node/libp2p/sec.go @@ -26,7 +26,7 @@ func Security(enabled bool, tptConfig config.Transports) interface{} { opt: libp2p.Security(tls.ID, tls.New), }, { priority: tptConfig.Security.SECIO, - defaultPriority: 200, + defaultPriority: config.Disabled, opt: libp2p.Security(secio.ID, secio.New), }, { priority: tptConfig.Security.Noise,