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-routing
Commits
9fe70ae2
Commit
9fe70ae2
authored
Sep 11, 2014
by
Siraj Ravel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
golint cleanup
parent
476e5f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dht/dht_test.go
dht/dht_test.go
+2
-2
No files found.
dht/dht_test.go
View file @
9fe70ae2
...
...
@@ -35,7 +35,7 @@ func setupDHTS(n int, t *testing.T) ([]*ma.Multiaddr, []*peer.Peer, []*IpfsDHT)
}
p
.
PubKey
=
pk
p
.
PrivKey
=
sk
id
,
err
:=
identify
.
I
d
FromPubKey
(
pk
)
id
,
err
:=
identify
.
I
D
FromPubKey
(
pk
)
if
err
!=
nil
{
panic
(
err
)
}
...
...
@@ -67,7 +67,7 @@ func makePeer(addr *ma.Multiaddr) *peer.Peer {
}
p
.
PrivKey
=
sk
p
.
PubKey
=
pk
id
,
err
:=
identify
.
I
d
FromPubKey
(
pk
)
id
,
err
:=
identify
.
I
D
FromPubKey
(
pk
)
if
err
!=
nil
{
panic
(
err
)
}
...
...
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