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-bitswap
Commits
13395cbf
Commit
13395cbf
authored
Oct 13, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iiii -> peerToQuery
(that wasn't mine :p)
parent
897c7098
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bitswap.go
bitswap.go
+3
-3
No files found.
bitswap.go
View file @
13395cbf
...
...
@@ -81,8 +81,8 @@ func (bs *bitswap) Block(parent context.Context, k u.Key) (*blocks.Block, error)
message
.
AppendWanted
(
wanted
)
}
message
.
AppendWanted
(
k
)
for
iiiii
:=
range
peersToQuery
{
log
.
Debug
(
"bitswap got peersToQuery: %s"
,
iiiii
)
for
peerToQuery
:=
range
peersToQuery
{
log
.
Debug
(
"bitswap got peersToQuery: %s"
,
peerToQuery
)
go
func
(
p
*
peer
.
Peer
)
{
log
.
Debug
(
"bitswap dialing peer: %s"
,
p
)
...
...
@@ -106,7 +106,7 @@ func (bs *bitswap) Block(parent context.Context, k u.Key) (*blocks.Block, error)
return
}
bs
.
ReceiveMessage
(
ctx
,
p
,
response
)
}(
iiiii
)
}(
peerToQuery
)
}
}()
...
...
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