Merge #10424: Populate services in GetLocalAddress
3070134
Populate services in GetLocalAddress (Alex Morcos)
Tree-SHA512: b822d7e898ccb5b959ccb1b1d0f159f27190c2105fbf8f5b67ae54debab6fa6a0723d65a66e7341f55cd0d80398c3fbb39a41e067b9f4e0bfa2c1cd366032404
This commit is contained in:
commit
6512913830
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ static std::vector<CAddress> convertSeed6(const std::vector<SeedSpec6> &vSeedsIn
|
||||||
// one by discovery.
|
// one by discovery.
|
||||||
CAddress GetLocalAddress(const CNetAddr *paddrPeer, ServiceFlags nLocalServices)
|
CAddress GetLocalAddress(const CNetAddr *paddrPeer, ServiceFlags nLocalServices)
|
||||||
{
|
{
|
||||||
CAddress ret(CService(CNetAddr(),GetListenPort()), NODE_NONE);
|
CAddress ret(CService(CNetAddr(),GetListenPort()), nLocalServices);
|
||||||
CService addr;
|
CService addr;
|
||||||
if (GetLocal(addr, paddrPeer))
|
if (GetLocal(addr, paddrPeer))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue