Some missing pieces for deterministic wallets.

This commit is contained in:
JoelKatz
2011-12-12 15:52:13 -08:00
parent 7253073cbd
commit 8c677fd421
3 changed files with 7 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
DetKeySet::DetKeySet(const std::string& phrase)
{
Serializer s;
s.addRaw(phrase);
s.addRaw((const void *) phrase.c_str(), phrase.length());
mBase=s.getSHA512Half();
s.secureErase();
}