From 4f6d1168da75e2fa831c6e2913c4d1cba070d208 Mon Sep 17 00:00:00 2001 From: Ignacio Hagopian Date: Thu, 17 Mar 2022 09:20:22 -0300 Subject: [PATCH] quic is enabled automatically Signed-off-by: Ignacio Hagopian --- peer/peer.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/peer/peer.go b/peer/peer.go index 2dce5c9..27c0cfd 100644 --- a/peer/peer.go +++ b/peer/peer.go @@ -20,7 +20,6 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-peerstore/pstoreds" ps "github.com/libp2p/go-libp2p-pubsub" - quic "github.com/libp2p/go-libp2p-quic-transport" "github.com/multiformats/go-multiaddr" badger "github.com/textileio/go-ds-badger3" rpc "github.com/textileio/go-libp2p-pubsub-rpc" @@ -104,9 +103,6 @@ func New(conf Config) (*Peer, error) { if conf.EnableNATPortMap { opts = append(opts, libp2p.NATPortMap()) } - if conf.EnableQUIC { - opts = append(opts, libp2p.Transport(quic.NewTransport)) - } fin := finalizer.NewFinalizer() ctx, cancel := context.WithCancel(context.Background())