mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-12 19:57:55 +08:00
fix(bitswap) rename PeerToQuery to send wantlist
log(bitswap) remove ambiguous event
This commit is contained in:
parent
a1fc5f9cf7
commit
4ae02bc022
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user