Merge branch 'nonewnym' of dan/libricochet-go into master

This commit is contained in:
Sarah Jamie Lewis 2019-02-20 19:45:31 +00:00 committed by Gogs
commit aca0f63dd2
1 changed files with 0 additions and 6 deletions

View File

@ -169,12 +169,6 @@ func (tp *torProvider) Open(hostname string) (net.Conn, string, error) {
}
conn, err := torDailer.Dial("tcp", resolvedHostname+".onion:9878")
// if there was an error, we may have been cycling too fast
// clear the tor cache and try one more time
if err != nil {
tp.t.Control.Signal("NEWNYM")
conn, err = torDailer.Dial("tcp", resolvedHostname+".onion:9878")
}
return conn, resolvedHostname, err
}