diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-08-05 15:00:50 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-08-29 20:46:23 +0300 |
commit | 3ddc150857178bfb1c854c05bf9b526777876f56 (patch) | |
tree | 72d8a2b27b90e191c81ea9b60718b65910434bb8 /src/wallet/wallet.h | |
parent | af9ea55a72c94678b343f5dd98dc78f3a3ac58cb (diff) | |
download | bitcoin-3ddc150857178bfb1c854c05bf9b526777876f56.tar.xz |
Add missed thread safety annotations
This is needed for upcoming commit "sync.h: Make runtime lock checks
require compile-time lock checks" to pass.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 2f9d301000..06e4e7c3a3 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1285,7 +1285,7 @@ public: void LoadActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal); //! Create new DescriptorScriptPubKeyMans and add them to the wallet - void SetupDescriptorScriptPubKeyMans(); + void SetupDescriptorScriptPubKeyMans() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); //! Return the DescriptorScriptPubKeyMan for a WalletDescriptor if it is already in the wallet DescriptorScriptPubKeyMan* GetDescriptorScriptPubKeyMan(const WalletDescriptor& desc) const; |