diff --git a/p2p/transport/quic/transport.go b/p2p/transport/quic/transport.go index c07aaeca8b..2d68b660c5 100644 --- a/p2p/transport/quic/transport.go +++ b/p2p/transport/quic/transport.go @@ -392,7 +392,3 @@ func (t *transport) CloseVirtualListener(l *virtualListener) error { return nil } - -func (t *transport) ConnManager() *quicreuse.ConnManager { - return t.connManager -} diff --git a/p2p/transport/webtransport/transport.go b/p2p/transport/webtransport/transport.go index 297c5c544f..e44ac33252 100644 --- a/p2p/transport/webtransport/transport.go +++ b/p2p/transport/webtransport/transport.go @@ -412,7 +412,3 @@ func (t *transport) AddCertHashes(m ma.Multiaddr) ma.Multiaddr { } return m.Encapsulate(t.certManager.AddrComponent()) } - -func (t *transport) ConnManager() *quicreuse.ConnManager { - return t.connManager -}