Skip to content

Commit 66dc662

Browse files
Add compile time checking for all cs_KeyStore runtime locking assertions
1 parent 25ad2f7 commit 66dc662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keystore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CBasicKeyStore : public CKeyStore
5454
ScriptMap mapScripts;
5555
WatchOnlySet setWatchOnly;
5656

57-
void ImplicitlyLearnRelatedKeyScripts(const CPubKey& pubkey);
57+
void ImplicitlyLearnRelatedKeyScripts(const CPubKey& pubkey) EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore);
5858

5959
public:
6060
bool AddKeyPubKey(const CKey& key, const CPubKey &pubkey) override;

0 commit comments

Comments
 (0)