diff --git a/src/Application.cpp b/src/Application.cpp index cf0a5c35f5..4a44115d94 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -118,7 +118,7 @@ void Application::run() firstLedger->setAccepted(); mMasterLedger.pushLedger(firstLedger); - Ledger::pointer secondLedger = boost::make_shared(firstLedger); + Ledger::pointer secondLedger = boost::make_shared(true, boost::ref(*firstLedger)); mMasterLedger.pushLedger(secondLedger); assert(!!secondLedger->getAccountState(rootAddress)); // temporary