From fae108ceb53f61d7338ba205873623ede3c1d3be Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 22 Jul 2021 20:58:10 +0200 Subject: [PATCH] Fix incorrect whitespace in addrman Leaving it as-is would be annoying because some editor fix-up the spacing when opening a file or editing it. --- src/addrman.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/addrman.cpp b/src/addrman.cpp index db5166be44..91b6d3fc83 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -507,15 +507,15 @@ int CAddrMan::Check_() for (int n = 0; n < ADDRMAN_TRIED_BUCKET_COUNT; n++) { for (int i = 0; i < ADDRMAN_BUCKET_SIZE; i++) { - if (vvTried[n][i] != -1) { - if (!setTried.count(vvTried[n][i])) - return -11; - if (mapInfo[vvTried[n][i]].GetTriedBucket(nKey, m_asmap) != n) - return -17; - if (mapInfo[vvTried[n][i]].GetBucketPosition(nKey, false, n) != i) - return -18; - setTried.erase(vvTried[n][i]); - } + if (vvTried[n][i] != -1) { + if (!setTried.count(vvTried[n][i])) + return -11; + if (mapInfo[vvTried[n][i]].GetTriedBucket(nKey, m_asmap) != n) + return -17; + if (mapInfo[vvTried[n][i]].GetBucketPosition(nKey, false, n) != i) + return -18; + setTried.erase(vvTried[n][i]); + } } }