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
54d693e1
Commit
54d693e1
authored
10 years ago
by
Jeromy
Committed by
Juan Batiz-Benet
10 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean peerset constructor names
parent
352eec31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dht/routing.go
dht/routing.go
+1
-1
No files found.
dht/routing.go
View file @
54d693e1
...
...
@@ -141,7 +141,7 @@ func (dht *IpfsDHT) FindProvidersAsync(ctx context.Context, key u.Key, count int
func
(
dht
*
IpfsDHT
)
findProvidersAsyncRoutine
(
ctx
context
.
Context
,
key
u
.
Key
,
count
int
,
peerOut
chan
peer
.
Peer
)
{
defer
close
(
peerOut
)
ps
:=
pset
.
NewLimited
PeerSet
(
count
)
ps
:=
pset
.
NewLimited
(
count
)
provs
:=
dht
.
providers
.
GetProviders
(
ctx
,
key
)
for
_
,
p
:=
range
provs
{
// NOTE: assuming that this list of peers is unique
...
...
This diff is collapsed.
Click to expand it.
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