fix swarm message type code, i beleive it works well now

This commit is contained in:
Jeromy
2014-08-20 16:51:03 -07:00
committed by Juan Batiz-Benet
parent d574d518b1
commit 2f6d94a86b
3 changed files with 18 additions and 17 deletions

View File

@@ -70,8 +70,8 @@ func (f *fauxNet) GetErrChan() chan error {
return f.Chan.Errors
}
func (f *fauxNet) GetChannel(t swarm.PBWrapper_MessageType) chan *swarm.Message {
return f.Chan.Incoming
func (f *fauxNet) GetChannel(t swarm.PBWrapper_MessageType) *swarm.Chan {
return f.Chan
}
func (f *fauxNet) Connect(addr *ma.Multiaddr) (*peer.Peer, error) {