refactor: replace RecursiveMutex m_chainstate_mutex with Mutex

This commit is contained in:
w0xlt committed 2022-01-24 13:15:08 -03:00
1 parent ddeefeef20
commit 020acea99b
1 file changed
+4 -3
+4 -3
View File
@@ -533,10 +533,11 @@ protected:
arith_uint256 nLastPreciousChainwork = 0; arith_uint256 nLastPreciousChainwork = 0;
/** /**
* the ChainState CriticalSection * The ChainState Mutex
* A lock that must be held when modifying this ChainState - held in ActivateBestChain() * A lock that must be held when modifying this ChainState - held in ActivateBestChain() and
* InvalidateBlock()
*/ */
RecursiveMutex m_chainstate_mutex; Mutex m_chainstate_mutex;
/** /**
* Whether this chainstate is undergoing initial block download. * Whether this chainstate is undergoing initial block download.