Skip to content

Commit b4db76c

Browse files
committed
net: Correct addrman logging
These were introduced in #9037. Found by @theuni.
1 parent 85424d7 commit b4db76c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/addrman.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void CAddrMan::Good_(const CService& addr, bool test_before_evict, int64_t nTime
239239

240240
// Will moving this address into tried evict another entry?
241241
if (test_before_evict && (vvTried[tried_bucket][tried_bucket_pos] != -1)) {
242-
LogPrint(BCLog::ADDRMAN, "addrman", "Collision inserting element into tried table, moving %s to m_tried_collisions=%d\n", addr.ToString(), m_tried_collisions.size());
242+
LogPrint(BCLog::ADDRMAN, "Collision inserting element into tried table, moving %s to m_tried_collisions=%d\n", addr.ToString(), m_tried_collisions.size());
243243
if (m_tried_collisions.size() < ADDRMAN_SET_TRIED_COLLISION_SIZE) {
244244
m_tried_collisions.insert(nId);
245245
}
@@ -565,7 +565,7 @@ void CAddrMan::ResolveCollisions_()
565565

566566
// Give address at least 60 seconds to successfully connect
567567
if (GetAdjustedTime() - info_old.nLastTry > 60) {
568-
LogPrint(BCLog::ADDRMAN, "addrman", "Swapping %s for %s in tried table\n", info_new.ToString(), info_old.ToString());
568+
LogPrint(BCLog::ADDRMAN, "Swapping %s for %s in tried table\n", info_new.ToString(), info_old.ToString());
569569

570570
// Replaces an existing address already in the tried table with the new address
571571
Good_(info_new, false, GetAdjustedTime());

0 commit comments

Comments
 (0)