mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
tor: rename dial to dialProxy
This commit renames dial to be dialProxy to make the connections clearer. It also cleans the column width and provides more verbose error messages.
This commit is contained in:
@@ -114,9 +114,9 @@ func NewController(controlAddr string, targetIPAddress string,
|
||||
}
|
||||
}
|
||||
|
||||
// Start establishes and authenticates the connection between the controller and
|
||||
// a Tor server. Once done, the controller will be able to send commands and
|
||||
// expect responses.
|
||||
// Start establishes and authenticates the connection between the controller
|
||||
// and a Tor server. Once done, the controller will be able to send commands
|
||||
// and expect responses.
|
||||
func (c *Controller) Start() error {
|
||||
if !atomic.CompareAndSwapInt32(&c.started, 0, 1) {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user