diff --git a/p2p/dial.go b/p2p/dial.go index 9a4cea810f..d36d665501 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -390,6 +390,9 @@ func (d *dialScheduler) checkDial(n *enode.Node) error { return errSelf } if n.IP() != nil && n.TCP() == 0 { + // This check can trigger if a non-TCP node is found + // by discovery. If there is no IP, the node is a static + // node and the actual endpoint will be resolved later in dialTask. return errNoPort } if _, ok := d.dialing[n.ID()]; ok {