mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
refactor: Fix CAddrMan::Check style
This change improves readability, and follows Developer Notes.
This commit is contained in:
parent
06703973c7
commit
f77d9c79aa
@ -716,11 +716,10 @@ private:
|
|||||||
void Check()
|
void Check()
|
||||||
{
|
{
|
||||||
#ifdef DEBUG_ADDRMAN
|
#ifdef DEBUG_ADDRMAN
|
||||||
{
|
LOCK(cs);
|
||||||
LOCK(cs);
|
const int err = Check_();
|
||||||
int err;
|
if (err) {
|
||||||
if ((err=Check_()))
|
LogPrintf("ADDRMAN CONSISTENCY CHECK FAILED!!! err=%i\n", err);
|
||||||
LogPrintf("ADDRMAN CONSISTENCY CHECK FAILED!!! err=%i\n", err);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user