Skip to content

Commit 080e6c8

Browse files
authored
swarm: remove unnecessary error log (#3128)
1 parent 02ab795 commit 080e6c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: p2p/net/swarm/swarm_transport.go

-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ func (s *Swarm) TransportForListening(a ma.Multiaddr) transport.Transport {
6060
s.transports.RLock()
6161
defer s.transports.RUnlock()
6262
if len(s.transports.m) == 0 {
63-
// make sure we're not just shutting down.
64-
if s.transports.m != nil {
65-
log.Error("you have no transports configured")
66-
}
6763
return nil
6864
}
6965

0 commit comments

Comments
 (0)