diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-03 13:54:43 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-09-03 13:42:59 +0200 |
commit | fa7e6c56f58678b310898a158053ee9ff8b27fe7 (patch) | |
tree | 053a7b564edd0084f782a5aca21a40e3c0d3fccb /src/validation.h | |
parent | fa5c896724bb359b4b9a3f89580272bfe5980c1b (diff) |
Add LIFETIMEBOUND to InitializeChainstate
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index ef48156309..d4fcac1d48 100644 --- a/src/validation.h +++ b/src/validation.h @@ -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(); |