diff options
author | John Newbery <john@johnnewbery.com> | 2020-10-23 10:24:16 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-03-20 10:24:40 +0000 |
commit | 7c4cc67c0c3c50df004ee53cac5b2884b7fbab29 (patch) | |
tree | 46a6057a19abb8d7c21d5c613fedec49c143041c /src/net_processing.cpp | |
parent | bcd7f30b7944892db7ae37069175804567bb0cdf (diff) |
[net] remove CConnman::AddNewAddresses
It just forwards calls to CAddrMan::Add.
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 ff1e46eb67..4b91d86cfa 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2681,7 +2681,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type, if (fReachable) vAddrOk.push_back(addr); } - m_connman.AddNewAddresses(vAddrOk, pfrom.addr, 2 * 60 * 60); + m_addrman.Add(vAddrOk, pfrom.addr, 2 * 60 * 60); if (vAddr.size() < 1000) pfrom.fGetAddr = false; if (pfrom.IsAddrFetchConn()) { |