Skip to content

Commit 65d484a

Browse files
committed
Output line to debug.log when IsInitialBlockDownload latches to false
1 parent 79aeff6 commit 65d484a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,7 @@ bool IsInitialBlockDownload()
11411141
return true;
11421142
if (chainActive.Tip()->GetBlockTime() < (GetTime() - nMaxTipAge))
11431143
return true;
1144+
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");
11441145
latchToFalse.store(true, std::memory_order_relaxed);
11451146
return false;
11461147
}

0 commit comments

Comments
 (0)