diff --git a/src/validation.cpp b/src/validation.cpp index 87fbdad52b0..dedc6fc8da3 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -5272,6 +5272,7 @@ bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptrnHeight >= chainparams.GetConsensus().DakotaHeight) { + LOCK(cs_main); panchors->CheckPendingAnchors(); } }