Skip to content

Commit

Permalink
fix: correct libp2p transports TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Dec 12, 2022
1 parent 710d320 commit e927dc8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/node/libp2p/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ func Transports(tptConfig config.Transports) interface{} {
"QUIC transport does not support private networks, please disable Swarm.Transports.Network.QUIC",
)
}
// TODO(9290): Make WithMetrics configurable
opts.Opts = append(opts.Opts, libp2p.Transport(quic.NewTransport))
}

// TODO(9292): Remove the false && to allows it enabled by default
if tptConfig.Network.WebTransport.WithDefault(!privateNetworkEnabled) {
if privateNetworkEnabled {
return opts, fmt.Errorf(
Expand Down

0 comments on commit e927dc8

Please sign in to comment.