Quality Fixup
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Sarah Jamie Lewis 2023-08-28 13:23:25 -07:00
parent 0997406e51
commit ca63205934
1 changed files with 6 additions and 6 deletions

View File

@ -432,7 +432,7 @@ func (cr *contactRetry) handleEvent(id string, state connections.ConnectionState
// reject events that contain invalid hostnames...we cannot connect to them
// and they could result in spurious connection attempts...
if tor.IsValidHostname(id) == false {
if !tor.IsValidHostname(id) {
return
}