Small optimizations.

This commit is contained in:
JoelKatz
2012-11-01 02:49:21 -07:00
parent 824019d8dc
commit f6aaa79bab
4 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ uint128 CKey::PassPhraseToKey(const std::string& passPhrase)
{
Serializer s;
s.addRaw(passPhrase.c_str(), passPhrase.size());
s.addRaw(passPhrase);
uint256 hash256 = s.getSHA512Half();
uint128 ret(hash256);