[net] remove CConnman::MarkAddressGood

It just forwards calls to CAddrMan::Good.
This commit is contained in:
John Newbery
2020-10-23 10:20:48 +01:00
parent 8073673dbc
commit bcd7f30b79
4 changed files with 1 additions and 14 deletions

View File

@@ -2635,11 +2635,6 @@ CConnman::~CConnman()
Stop();
}
void CConnman::MarkAddressGood(const CAddress& addr)
{
addrman.Good(addr);
}
bool CConnman::AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty)
{
return addrman.Add(vAddr, addrFrom, nTimePenalty);