diff --git a/p2p/transport/quic/conn_test.go b/p2p/transport/quic/conn_test.go index 157e2ddc3c..4717acad30 100644 --- a/p2p/transport/quic/conn_test.go +++ b/p2p/transport/quic/conn_test.go @@ -758,7 +758,6 @@ func TestClientCanDialDifferentQUICVersions(t *testing.T) { panic("unexpected version") } require.NoError(t, err) - defer conn.Close() _, versionConnLocal, err := quicreuse.FromQuicMultiaddr(conn.LocalMultiaddr()) require.NoError(t, err)