(29 . 7)(29 . 7)
186 bool CBasicKeyStore::AddKey(const CKey& key)
187 {
188 CRITICAL_BLOCK(cs_KeyStore)
189 mapKeys[key.GetAddress()] = key.GetSecret();
190 mapKeys[CBitcoinAddress(key.GetPubKey())] = key.GetSecret();
191 return true;
192 }
193