Commit b12134cd authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

fixed tests

parent 2a1ee3ae
......@@ -2,7 +2,6 @@ package bitswap
import (
blocks "github.com/jbenet/go-ipfs/blocks"
peer "github.com/jbenet/go-ipfs/peer"
u "github.com/jbenet/go-ipfs/util"
mh "github.com/jbenet/go-multihash"
"time"
......
......@@ -84,7 +84,7 @@ func TestSwarm(t *testing.T) {
MsgNum := 1000
for k := 0; k < MsgNum; k++ {
for _, p := range peers {
swarm.Chan.Outgoing <- Message{Peer: p, Data: []byte("ping")}
swarm.Chan.Outgoing <- &Message{Peer: p, Data: []byte("ping")}
}
}
......
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