Quality Fixup
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
0997406e51
commit
ca63205934
|
@ -432,7 +432,7 @@ func (cr *contactRetry) handleEvent(id string, state connections.ConnectionState
|
||||||
|
|
||||||
// reject events that contain invalid hostnames...we cannot connect to them
|
// reject events that contain invalid hostnames...we cannot connect to them
|
||||||
// and they could result in spurious connection attempts...
|
// and they could result in spurious connection attempts...
|
||||||
if tor.IsValidHostname(id) == false {
|
if !tor.IsValidHostname(id) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue