fix(bitswap) rename PeerToQuery to send wantlist

log(bitswap) remove ambiguous event
This commit is contained in:
Brian Tiger Chow 2015-01-30 23:35:47 -08:00
parent a1fc5f9cf7
commit 4ae02bc022

View File

@ -202,7 +202,6 @@ func (bs *bitswap) sendWantlistMsgToPeers(ctx context.Context, m bsmsg.BitSwapMe
set := pset.New()
wg := sync.WaitGroup{}
for peerToQuery := range peers {
log.Event(ctx, "PeerToQuery", peerToQuery)
if !set.TryAdd(peerToQuery) { //Do once per peer
continue