diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-05-22 12:49:44 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-05-22 12:50:19 +0200 |
| commit | 65129138304771f2734400e2d7a24e8960dfafef (patch) | |
| tree | 85ae7fb65e3db5d372591fb212b8dce692b1f7d0 /src | |
| parent | Merge #10433: [tests] improve tmpdir structure (diff) | |
| parent | Populate services in GetLocalAddress (diff) | |
| download | discoin-65129138304771f2734400e2d7a24e8960dfafef.tar.xz discoin-65129138304771f2734400e2d7a24e8960dfafef.zip | |
Merge #10424: Populate services in GetLocalAddress
3070134 Populate services in GetLocalAddress (Alex Morcos)
Tree-SHA512: b822d7e898ccb5b959ccb1b1d0f159f27190c2105fbf8f5b67ae54debab6fa6a0723d65a66e7341f55cd0d80398c3fbb39a41e067b9f4e0bfa2c1cd366032404
Diffstat (limited to 'src')
| -rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index ded6f1099..198d8f5ff 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -148,7 +148,7 @@ static std::vector<CAddress> convertSeed6(const std::vector<SeedSpec6> &vSeedsIn // one by discovery. CAddress GetLocalAddress(const CNetAddr *paddrPeer, ServiceFlags nLocalServices) { - CAddress ret(CService(CNetAddr(),GetListenPort()), NODE_NONE); + CAddress ret(CService(CNetAddr(),GetListenPort()), nLocalServices); CService addr; if (GetLocal(addr, paddrPeer)) { |