Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
b12134cd
Commit
b12134cd
authored
Jul 31, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests
parent
2a1ee3ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
bitswap/bitswap.go
bitswap/bitswap.go
+0
-1
swarm/swarm_test.go
swarm/swarm_test.go
+1
-1
No files found.
bitswap/bitswap.go
View file @
b12134cd
...
...
@@ -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"
...
...
swarm/swarm_test.go
View file @
b12134cd
...
...
@@ -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"
)}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment