aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2018-04-25 22:27:36 +0200
committerpracticalswift <[email protected]>2018-04-25 22:31:40 +0200
commit66dc662c8aa5d7a178451f5ad5d826552693158c (patch)
treefcd43f8ef825f9dc3c2c2ba5cab6cd4c20a036d2 /src
parentMerge #12830: [qt] [tests] Clarify address book error messages, add tests (diff)
downloaddiscoin-66dc662c8aa5d7a178451f5ad5d826552693158c.tar.xz
discoin-66dc662c8aa5d7a178451f5ad5d826552693158c.zip
Add compile time checking for all cs_KeyStore runtime locking assertions
Diffstat (limited to 'src')
-rw-r--r--src/keystore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keystore.h b/src/keystore.h
index fa912cb19..c56e4751d 100644
--- a/src/keystore.h
+++ b/src/keystore.h
@@ -54,7 +54,7 @@ protected:
ScriptMap mapScripts;
WatchOnlySet setWatchOnly;
- void ImplicitlyLearnRelatedKeyScripts(const CPubKey& pubkey);
+ void ImplicitlyLearnRelatedKeyScripts(const CPubKey& pubkey) EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore);
public:
bool AddKeyPubKey(const CKey& key, const CPubKey &pubkey) override;