From 66dc662c8aa5d7a178451f5ad5d826552693158c Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 25 Apr 2018 22:27:36 +0200 Subject: [PATCH] Add compile time checking for all cs_KeyStore runtime locking assertions --- src/keystore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keystore.h b/src/keystore.h index fa912cb1951..c56e4751de8 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;