aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-04-25 22:27:36 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-04-25 22:31:40 +0200
commit66dc662c8aa5d7a178451f5ad5d826552693158c (patch)
treefcd43f8ef825f9dc3c2c2ba5cab6cd4c20a036d2 /src
parent25ad2f75f5d105d30d2ca716a66138a6b32a8c68 (diff)
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 fa912cb195..c56e4751de 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;