Browse Source

CKeyStore::AddKey must return a boolean

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
33c75fd9aa
  1. 1
      src/keystore.cpp

1
src/keystore.cpp

@ -29,5 +29,6 @@ bool CKeyStore::AddKey(const CKey& key)
mapKeys[key.GetPubKey()] = key.GetPrivKey(); mapKeys[key.GetPubKey()] = key.GetPrivKey();
mapPubKeys[Hash160(key.GetPubKey())] = key.GetPubKey(); mapPubKeys[Hash160(key.GetPubKey())] = key.GetPubKey();
} }
return true;
} }

Loading…
Cancel
Save