diff --git a/src/validation.cpp b/src/validation.cpp index 5df910b973..b37f262f79 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4021,7 +4021,6 @@ bool ProcessNewBlockHeaders(const std::vector& headers, CValidatio } } if (NotifyHeaderTip()) { - LOCK(cs_main); if (::ChainstateActive().IsInitialBlockDownload() && ppindex && *ppindex) { LogPrintf("Synchronizing blockheaders, height: %d (~%.2f%%)\n", (*ppindex)->nHeight, 100.0/((*ppindex)->nHeight+(GetAdjustedTime() - (*ppindex)->GetBlockTime()) / Params().GetConsensus().nPowTargetSpacing) * (*ppindex)->nHeight); }