Add compile time checking for all cs_KeyStore runtime locking assertions

This commit is contained in:
practicalswift 2018-04-25 22:27:36 +02:00
parent 25ad2f75f5
commit 66dc662c8a
1 changed files with 1 additions and 1 deletions

View File

@ -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;