[addrman] Remove unused test_before_evict argument from Good()

This has never been used in the public interface method since it was
introduced in #9037.
This commit is contained in:
John Newbery
2021-07-20 13:59:12 +01:00
parent 201c5e4aec
commit f036dfbb69
3 changed files with 4 additions and 4 deletions

View File

@@ -536,12 +536,12 @@ public:
}
//! Mark an entry as accessible.
void Good(const CService &addr, bool test_before_evict = true, int64_t nTime = GetAdjustedTime())
void Good(const CService &addr, int64_t nTime = GetAdjustedTime())
EXCLUSIVE_LOCKS_REQUIRED(!cs)
{
LOCK(cs);
Check();
Good_(addr, test_before_evict, nTime);
Good_(addr, /* test_before_evict */ true, nTime);
Check();
}