diff --git a/p2p/transport/tcp/tcp.go b/p2p/transport/tcp/tcp.go index 991981ca9c..87aef6e92c 100644 --- a/p2p/transport/tcp/tcp.go +++ b/p2p/transport/tcp/tcp.go @@ -275,7 +275,7 @@ type tcpConn struct { } var _ tpt.Conn = &tcpConn{} -var _ tpt.SingleStreamConn = &tcpConn{} +var _ tpt.DuplexConn = &tcpConn{} func (c *tcpConn) Transport() tpt.Transport { return c.t