From 21fd167df35acbda11a41e4458c3e6a4b558729c Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 6 Sep 2017 12:05:25 +0200 Subject: [PATCH] use the renamed transport interfaces --- p2p/transport/tcp/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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