Skip to content

Commit

Permalink
iiii -> peerToQuery
Browse files Browse the repository at this point in the history
(that wasn't mine :p)
  • Loading branch information
jbenet committed Oct 13, 2014
1 parent 7401078 commit a01cbf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exchange/bitswap/bitswap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
}
}()

Expand Down

0 comments on commit a01cbf6

Please sign in to comment.