mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Add LIFETIMEBOUND to InitializeChainstate
This commit is contained in:
parent
fa5c896724
commit
fa7e6c56f5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue