Add LIFETIMEBOUND to InitializeChainstate
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -929,7 +929,7 @@ public:
|
|||||||
CChainState& InitializeChainstate(
|
CChainState& InitializeChainstate(
|
||||||
CTxMemPool* mempool,
|
CTxMemPool* mempool,
|
||||||
const std::optional<uint256>& snapshot_blockhash = std::nullopt)
|
const std::optional<uint256>& snapshot_blockhash = std::nullopt)
|
||||||
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
|
LIFETIMEBOUND EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
|
||||||
|
|
||||||
//! Get all chainstates currently being used.
|
//! Get all chainstates currently being used.
|
||||||
std::vector<CChainState*> GetAll();
|
std::vector<CChainState*> GetAll();
|
||||||
|
|||||||
Reference in new issue
Block a user