Skip to content

Commit

Permalink
remove debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
cortze committed Jun 3, 2021
1 parent 0599051 commit 6b59ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control/actor/peer/connectrandom.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (c *PeerConnectRandomCmd) run(ctx context.Context, h host.Host) {
p := randomPeer(peerList)
// loop until we arrive to a peer that we didn't connect before
_ = c.GossipMetrics.AddNewPeer(p)
val, ok := peerCache[p]
_, ok := peerCache[p]
if ok {
if len(peerCache) == peerstoreLen {
break // Temporary commented
Expand Down

0 comments on commit 6b59ec8

Please sign in to comment.