Skip to content

Commit

Permalink
Add missing cs_main lock (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar authored Feb 8, 2022
1 parent dbf9b7e commit e0456cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5272,6 +5272,7 @@ bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptr<cons
ProcessAuthsIfTipChanged(oldTip, tip, chainparams.GetConsensus());

if (tip->nHeight >= chainparams.GetConsensus().DakotaHeight) {
LOCK(cs_main);
panchors->CheckPendingAnchors();
}
}
Expand Down

0 comments on commit e0456cb

Please sign in to comment.