remove unused function
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2022-08-03 19:21:03 -07:00
parent 9992edadba
commit 9a134810c3
1 changed files with 0 additions and 16 deletions

View File

@ -214,22 +214,6 @@ func (tp *torProvider) GetVersion() string {
return tp.version
}
func (tp *torProvider) getVersionFromControlPort() string {
tp.lock.Lock()
defer tp.lock.Unlock()
if tp.t == nil {
return "No Tor"
}
pinfo, err := tp.t.Control.ProtocolInfo()
if err == nil {
return pinfo.TorVersion
}
return "No Tor"
}
func (tp *torProvider) closed() bool {
tp.lock.Lock()
defer tp.lock.Unlock()