mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[net] remove CConnman::AddNewAddresses
It just forwards calls to CAddrMan::Add.
This commit is contained in:
parent
bcd7f30b79
commit
7c4cc67c0c
5 changed files with 4 additions and 18 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue