We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AssertLockNotHeld
EnforceBestChainLock()
1 parent f57e666 commit 015a394Copy full SHA for 015a394
src/llmq/quorums_chainlocks.cpp
@@ -488,6 +488,9 @@ bool CChainLocksHandler::IsTxSafeForMining(const uint256& txid)
488
// This should also not be called from validation signals, as this might result in recursive calls
489
void CChainLocksHandler::EnforceBestChainLock()
490
{
491
+ AssertLockNotHeld(cs);
492
+ AssertLockNotHeld(cs_main);
493
+
494
CChainLockSig clsig;
495
const CBlockIndex* pindex;
496
const CBlockIndex* currentBestChainLockBlockIndex;
0 commit comments