Skip to content

Commit fae108c

Browse files
author
MarcoFalke
committed
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.
1 parent fa32024 commit fae108c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/addrman.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -507,15 +507,15 @@ int CAddrMan::Check_()
507507

508508
for (int n = 0; n < ADDRMAN_TRIED_BUCKET_COUNT; n++) {
509509
for (int i = 0; i < ADDRMAN_BUCKET_SIZE; i++) {
510-
if (vvTried[n][i] != -1) {
511-
if (!setTried.count(vvTried[n][i]))
512-
return -11;
513-
if (mapInfo[vvTried[n][i]].GetTriedBucket(nKey, m_asmap) != n)
514-
return -17;
515-
if (mapInfo[vvTried[n][i]].GetBucketPosition(nKey, false, n) != i)
516-
return -18;
517-
setTried.erase(vvTried[n][i]);
518-
}
510+
if (vvTried[n][i] != -1) {
511+
if (!setTried.count(vvTried[n][i]))
512+
return -11;
513+
if (mapInfo[vvTried[n][i]].GetTriedBucket(nKey, m_asmap) != n)
514+
return -17;
515+
if (mapInfo[vvTried[n][i]].GetBucketPosition(nKey, false, n) != i)
516+
return -18;
517+
setTried.erase(vvTried[n][i]);
518+
}
519519
}
520520
}
521521

0 commit comments

Comments
 (0)