mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
[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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user