Remove use of deprecated crypto code.

This commit is contained in:
Arthur Britto
2012-06-13 11:56:01 -07:00
parent d4a057cfcd
commit e46149819d
6 changed files with 79 additions and 161 deletions

View File

@@ -103,11 +103,11 @@ void Application::run()
// New stuff.
NewcoinAddress rootSeedMaster;
NewcoinAddress rootGeneratorMaster;
NewcoinAddress rootAddress;
rootSeedMaster.setFamilySeed(CKey::PassPhraseToKey("masterpassphrase"));
rootGeneratorMaster.setFamilyGenerator(rootSeedMaster);
NewcoinAddress rootGeneratorMaster = NewcoinAddress::createGeneratorPublic(rootSeedMaster);
rootAddress.setAccountPublic(rootGeneratorMaster, 0);