lock cs_main for chainActive

This commit is contained in:
Kaz Wesley
2016-04-25 12:31:32 -07:00
committed by lateminer
parent 7d7c806637
commit cf16a6e0d1

View File

@@ -3198,7 +3198,7 @@ bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams,
}
}
}
} while(pindexMostWork != chainActive.Tip());
} while (pindexNewTip != pindexMostWork);
CheckBlockIndex(chainparams.GetConsensus());
// Write changes periodically to disk, after relay.