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.
This commit is contained in:
MarcoFalke 2021-07-22 20:58:10 +02:00
parent fa32024d51
commit fae108ceb5
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

View File

@ -507,15 +507,15 @@ int CAddrMan::Check_()
for (int n = 0; n < ADDRMAN_TRIED_BUCKET_COUNT; n++) { for (int n = 0; n < ADDRMAN_TRIED_BUCKET_COUNT; n++) {
for (int i = 0; i < ADDRMAN_BUCKET_SIZE; i++) { for (int i = 0; i < ADDRMAN_BUCKET_SIZE; i++) {
if (vvTried[n][i] != -1) { if (vvTried[n][i] != -1) {
if (!setTried.count(vvTried[n][i])) if (!setTried.count(vvTried[n][i]))
return -11; return -11;
if (mapInfo[vvTried[n][i]].GetTriedBucket(nKey, m_asmap) != n) if (mapInfo[vvTried[n][i]].GetTriedBucket(nKey, m_asmap) != n)
return -17; return -17;
if (mapInfo[vvTried[n][i]].GetBucketPosition(nKey, false, n) != i) if (mapInfo[vvTried[n][i]].GetBucketPosition(nKey, false, n) != i)
return -18; return -18;
setTried.erase(vvTried[n][i]); setTried.erase(vvTried[n][i]);
} }
} }
} }