aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-08-05 15:00:50 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-08-29 20:46:23 +0300
commit3ddc150857178bfb1c854c05bf9b526777876f56 (patch)
tree72d8a2b27b90e191c81ea9b60718b65910434bb8 /src/wallet/scriptpubkeyman.h
parentaf9ea55a72c94678b343f5dd98dc78f3a3ac58cb (diff)
downloadbitcoin-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/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index a96d971734..14fb1fa89f 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -535,7 +535,7 @@ private:
//! keeps track of whether Unlock has run a thorough check before
bool m_decryption_thoroughly_checked = false;
- bool AddDescriptorKeyWithDB(WalletBatch& batch, const CKey& key, const CPubKey &pubkey);
+ bool AddDescriptorKeyWithDB(WalletBatch& batch, const CKey& key, const CPubKey &pubkey) EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
KeyMap GetKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);