We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 366bc8b commit f8fd095Copy full SHA for f8fd095
src/crypter.h
@@ -172,6 +172,7 @@ class CCryptoKeyStore : public CBasicKeyStore
172
bool GetPubKey(const CKeyID& address, CPubKey& vchPubKeyOut) const;
173
void GetKeys(std::set<CKeyID>& setAddress) const
174
{
175
+ LOCK(cs_KeyStore);
176
if (!IsCrypted()) {
177
CBasicKeyStore::GetKeys(setAddress);
178
return;
0 commit comments