diff --git a/peer/peer.go b/peer/peer.go index 158d853b..81df32ce 100644 --- a/peer/peer.go +++ b/peer/peer.go @@ -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 diff --git a/server.go b/server.go index f5eda7cd..4fc28aea 100644 --- a/server.go +++ b/server.go @@ -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,