From 7bf9ff617daf25c01d0e042555d99378e6def159 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Fri, 12 Sep 2014 22:54:14 -0700 Subject: [PATCH] refactor(swarm) specify direction of secure chans --- swarm/conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/conn.go b/swarm/conn.go index 1f2df1658..468e86cd2 100644 --- a/swarm/conn.go +++ b/swarm/conn.go @@ -25,8 +25,8 @@ type Conn struct { Closed chan bool Outgoing *msgio.Chan Incoming *msgio.Chan - secIn chan []byte - secOut chan []byte + secIn <-chan []byte + secOut chan<- []byte } // ConnMap maps Keys (Peer.IDs) to Connections.