Add LIFETIMEBOUND to InitializeChainstate

This commit is contained in:
MarcoFalke committed 2021-09-03 13:42:59 +02:00
1 parent fa5c896724
commit fa7e6c56f5
1 file changed
+1 -1
+1 -1
View File
@@ -929,7 +929,7 @@ public:
CChainState& InitializeChainstate(
CTxMemPool* mempool,
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.
std::vector<CChainState*> GetAll();