peer: BestLocalAddress config option is no longer used.
This commit is contained in:
parent
a09d052f96
commit
0d508e6522
2 changed files with 0 additions and 4 deletions
|
@ -196,9 +196,6 @@ type Config struct {
|
|||
// reported.
|
||||
NewestBlock HashFunc
|
||||
|
||||
// BestLocalAddress returns the best local address for a given address.
|
||||
BestLocalAddress AddrFunc
|
||||
|
||||
// HostToNetAddress returns the netaddress for the given host. This can be
|
||||
// nil in which case the host will be parsed as an IP address.
|
||||
HostToNetAddress HostToNetAddrFunc
|
||||
|
|
|
@ -1539,7 +1539,6 @@ func newPeerConfig(sp *serverPeer) *peer.Config {
|
|||
OnAlert: nil,
|
||||
},
|
||||
NewestBlock: sp.newestBlock,
|
||||
BestLocalAddress: sp.server.addrManager.GetBestLocalAddress,
|
||||
HostToNetAddress: sp.server.addrManager.HostToNetAddress,
|
||||
Proxy: cfg.Proxy,
|
||||
UserAgentName: userAgentName,
|
||||
|
|
Loading…
Reference in a new issue