Fixed checkpoint data that was put into codebase without proper check for blockchain, breaking other blockchains or asset chains

This commit is contained in:
miketout
2018-08-27 12:11:33 -07:00
parent 21337a4992
commit 64d6048f4a
3 changed files with 45 additions and 31 deletions

View File

@@ -799,7 +799,8 @@ int32_t waitForPeers(const CChainParams &chainparams)
if (fvNodesEmpty || !IsInSync())
{
do {
MilliSleep(1000 + rand() % 4000);
if (fvNodesEmpty)
MilliSleep(1000 + rand() % 4000);
{
LOCK(cs_vNodes);
fvNodesEmpty = vNodes.empty();