Skip to content

Commit 6b59ec8

Browse files
committed
remove debug traces
1 parent 0599051 commit 6b59ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/control/actor/peer/connectrandom.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (c *PeerConnectRandomCmd) run(ctx context.Context, h host.Host) {
103103
p := randomPeer(peerList)
104104
// loop until we arrive to a peer that we didn't connect before
105105
_ = c.GossipMetrics.AddNewPeer(p)
106-
val, ok := peerCache[p]
106+
_, ok := peerCache[p]
107107
if ok {
108108
if len(peerCache) == peerstoreLen {
109109
break // Temporary commented

0 commit comments

Comments
 (0)