Ensure in sync differently
This commit is contained in:
@@ -804,7 +804,7 @@ int32_t waitForPeers(const CChainParams &chainparams)
|
||||
LOCK(cs_vNodes);
|
||||
fvNodesEmpty = vNodes.empty();
|
||||
}
|
||||
} while (!IsInSync() || fvNodesEmpty);
|
||||
} while (fvNodesEmpty || !IsInSync());
|
||||
MilliSleep(100 + rand() % 400);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user