Enable syncing of new test chains before checkpoints have started

This commit is contained in:
miketout
2018-08-25 10:48:40 -07:00
parent 46d858beca
commit 6d84700d44
4 changed files with 16 additions and 8 deletions

View File

@@ -796,7 +796,7 @@ int32_t waitForPeers(const CChainParams &chainparams)
LOCK(cs_vNodes);
fvNodesEmpty = vNodes.empty();
}
if (!IsInSync() || fvNodesEmpty)
if (fvNodesEmpty || !IsInSync())
{
do {
MilliSleep(100 + rand() % 400);