Code refactoring from Bitcoin Core 0.13.0
72c2651581fc7c60d699fa19b18c633e2c946cfd0fd599767d220f950ab1fade505e8bfa9976b853fa10ce6a6d...and some more
This commit is contained in:
@@ -19,6 +19,7 @@ bool CBasicKeyStore::GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) con
|
||||
{
|
||||
CKey key;
|
||||
if (!GetKey(address, key)) {
|
||||
LOCK(cs_KeyStore);
|
||||
WatchKeyMap::const_iterator it = mapWatchKeys.find(address);
|
||||
if (it != mapWatchKeys.end()) {
|
||||
vchPubKeyOut = it->second;
|
||||
|
||||
Reference in New Issue
Block a user