(29 . 7)(29 . 7)
163 bool CBasicKeyStore::AddKey(const CKey& key)
164 {
165 CRITICAL_BLOCK(cs_KeyStore)
166 mapKeys[key.GetAddress()] = key.GetSecret();
167 mapKeys[CBitcoinAddress(key.GetPubKey())] = key.GetSecret();
168 return true;
169 }
170