From 04e44960e4d0221054c9a4644f3fa30de5e8cd27 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Tue, 15 May 2012 00:09:22 -0700 Subject: [PATCH] Clean up root account generation. --- src/Application.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index 7651c126eb..84f0771709 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -118,16 +118,7 @@ void Application::run() std::cerr << "Master seed: " << rootSeedMaster.humanFamilySeed() << std::endl; std::cerr << "Master generator: " << rootGeneratorMaster.humanFamilyGenerator() << std::endl; - std::cerr << "Root address: " << rootAddress.humanAccountPublic() << std::endl; - - // Temporary root account will be ["This is my payphrase."]:0 - NewcoinAddress rootFamilySeed; // Hold the 128 password. - NewcoinAddress rootFamilyGenerator; // Hold the generator. - // NewcoinAddress rootAddress; - - rootFamilySeed.setFamilySeed(CKey::PassPhraseToKey("This is my payphrase.")); - rootFamilyGenerator.setFamilyGenerator(rootFamilySeed); - rootAddress.setAccountPublic(rootFamilyGenerator, 0); + std::cerr << "Root public key: " << rootAddress.humanAccountPublic() << std::endl; std::cerr << "Root account: " << rootAddress.humanAccountID() << std::endl; Ledger::pointer firstLedger = boost::make_shared(rootAddress, 100000000);