Commit 13395cbf authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

iiii -> peerToQuery

(that wasn't mine :p)
parent 897c7098
......@@ -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)
}
}()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment