@cryptotaxi247 / kubo / commits / b12134cd4

fixed tests

Juan Batiz-Benet committed Jul 31, 2014 at 02:55 UTC b12134cd4c8ed8db3627d3f9a5788e58f24b2702
2 files changed +1 -2
bitswap/bitswap.go
-1
@@ -2,7 +2,6 @@ package bitswap
2
3 import (
4 blocks "github.com/jbenet/go-ipfs/blocks"
5 - peer "github.com/jbenet/go-ipfs/peer"
5 u "github.com/jbenet/go-ipfs/util"
6 mh "github.com/jbenet/go-multihash"
7 "time"
swarm/swarm_test.go
+1 -1
@@ -84,7 +84,7 @@ func TestSwarm(t *testing.T) {
84 MsgNum := 1000
85 for k := 0; k < MsgNum; k++ {
86 for _, p := range peers {
87 - swarm.Chan.Outgoing <- Message{Peer: p, Data: []byte("ping")}
87 + swarm.Chan.Outgoing <- &Message{Peer: p, Data: []byte("ping")}
88 }
89 }
90