[net] remove CConnman::SetServices

It just forwards calls to CAddrMan::SetServices.
This commit is contained in:
John Newbery
2020-10-23 10:19:25 +01:00
parent 392a95d393
commit 8073673dbc
4 changed files with 1 additions and 14 deletions

View File

@@ -2332,7 +2332,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
nServices = ServiceFlags(nServiceInt);
if (!pfrom.IsInboundConn())
{
m_connman.SetServices(pfrom.addr, nServices);
m_addrman.SetServices(pfrom.addr, nServices);
}
if (pfrom.ExpectServicesFromConn() && !HasAllDesirableServiceFlags(nServices))
{