bugfix: the uncached connection attempt wasnt being returned

This commit is contained in:
erinn 2018-10-09 19:24:22 -07:00
parent 1056fce116
commit 8960be643c
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func (nr *NetworkResolver) Resolve(hostname string) (net.Conn, string, error) {
NewNym(torc)
conn, err = torDialer.Dial("tcp", resolvedHostname+".onion:9878")
return nil, "", err
return conn, "", err
}
return conn, resolvedHostname, nil