Commit 7bf9ff61 authored by Brian Tiger Chow's avatar Brian Tiger Chow

refactor(swarm) specify direction of secure chans

parent b249ebe8
...@@ -25,8 +25,8 @@ type Conn struct { ...@@ -25,8 +25,8 @@ type Conn struct {
Closed chan bool Closed chan bool
Outgoing *msgio.Chan Outgoing *msgio.Chan
Incoming *msgio.Chan Incoming *msgio.Chan
secIn chan []byte secIn <-chan []byte
secOut chan []byte secOut chan<- []byte
} }
// ConnMap maps Keys (Peer.IDs) to Connections. // ConnMap maps Keys (Peer.IDs) to Connections.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment