Skip to content

Commit

Permalink
feat: disable secio by default
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Aug 17, 2020
1 parent 8e73021 commit 279ac78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/node/libp2p/sec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 279ac78

Please sign in to comment.