diff options
author | Jon Atack <jon@atack.com> | 2021-05-02 19:05:42 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-05-19 13:05:54 +0200 |
commit | 80ba294854e5025bcada58f1403858e6ea1d4380 (patch) | |
tree | 24849fb98a37fdf03e65b92d4b030dc547c9a07b /src/net_processing.cpp | |
parent | a49f3ddbbabfb971a537f0a6c7affb24e20ff192 (diff) |
p2p: allow CConnman::GetAddresses() by network, add doxygen
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index fdd36835c2..cee2419610 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -3586,7 +3586,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type, pfrom.vAddrToSend.clear(); std::vector<CAddress> vAddr; if (pfrom.HasPermission(NetPermissionFlags::Addr)) { - vAddr = m_connman.GetAddresses(MAX_ADDR_TO_SEND, MAX_PCT_ADDR_TO_SEND); + vAddr = m_connman.GetAddresses(MAX_ADDR_TO_SEND, MAX_PCT_ADDR_TO_SEND, /* network */ std::nullopt); } else { vAddr = m_connman.GetAddresses(pfrom, MAX_ADDR_TO_SEND, MAX_PCT_ADDR_TO_SEND); } |