fix: correct libp2p transports TODO comments
Jorropo committed
Dec 12, 2022 at 22:26 UTC
e927dc8e594d2688a2dc64f6165b70ecc94ff03e
1 file changed
-2
core/node/libp2p/transport.go
-2
@@ -36,11 +36,9 @@ func Transports(tptConfig config.Transports) interface{} {
36
"QUIC transport does not support private networks, please disable Swarm.Transports.Network.QUIC",
37
)
38
}
39
- // TODO(9290): Make WithMetrics configurable
39
opts.Opts = append(opts.Opts, libp2p.Transport(quic.NewTransport))
40
}
41
43
- // TODO(9292): Remove the false && to allows it enabled by default
42
if tptConfig.Network.WebTransport.WithDefault(!privateNetworkEnabled) {
43
if privateNetworkEnabled {
44
return opts, fmt.Errorf(