multi: use timeout field in dialer

This commit is contained in:
yyforyongyu committed 2020-09-16 11:50:04 +08:00
1 parent fb67b58d3f
commit ef38b12fda
7 files changed
+35 -29

No files matched your search

+2 -1
View File
@@ -14,6 +14,7 @@ import (
"github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/tor"
"github.com/lightningnetwork/lnd/watchtower/wtdb"
"github.com/lightningnetwork/lnd/watchtower/wtpolicy"
"github.com/lightningnetwork/lnd/watchtower/wtserver"
@@ -137,7 +138,7 @@ type Config struct {
// Dial connects to an addr using the specified net and returns the
// connection object.
Dial Dial
Dial tor.DialFunc
// AuthDialer establishes a brontide connection over an onion or clear
// network.