Skip to content

Commit

Permalink
swarm: remove stray print stmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Dec 5, 2024
1 parent 31b9d3a commit 40d4c06
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions p2p/net/swarm/dial_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package swarm

import (
"context"
"fmt"
"math"
"sync"
"time"
Expand Down Expand Up @@ -296,9 +295,6 @@ loop:
}
ad.dialed = true
ad.dialRankingDelay = now.Sub(ad.createdAt)
if _, err := ad.addr.ValueForProtocol(ma.P_WEBRTC_DIRECT); err == nil {
fmt.Println("dial ranking delay", ad.addr, ad.dialRankingDelay)
}
err := w.s.dialNextAddr(ad.ctx, w.peer, ad.addr, w.resch)
if err != nil {
// Errored without attempting a dial. This happens in case of
Expand Down

0 comments on commit 40d4c06

Please sign in to comment.