diff --git a/src/Application.cpp b/src/Application.cpp index af7a09fded..25ae9d5f93 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -118,7 +118,7 @@ void Application::run() rootAddress.setAccountPublic(rootFamilyGenerator, 0); std::cerr << "Root account: " << rootAddress.humanAccountID() << std::endl; - Ledger::pointer firstLedger(new Ledger(rootAddress, 100000000)); + Ledger::pointer firstLedger = boost::make_shared(rootAddress, 100000000); assert(!!firstLedger->getAccountState(rootAddress)); firstLedger->updateHash(); firstLedger->setClosed();