Use new Ledger constructors.

This commit is contained in:
JoelKatz
2012-06-03 19:42:30 -07:00
parent 833f402064
commit 31e70c0cd2

View File

@@ -118,7 +118,7 @@ void Application::run()
firstLedger->setAccepted();
mMasterLedger.pushLedger(firstLedger);
Ledger::pointer secondLedger = boost::make_shared<Ledger>(firstLedger);
Ledger::pointer secondLedger = boost::make_shared<Ledger>(true, boost::ref(*firstLedger));
mMasterLedger.pushLedger(secondLedger);
assert(!!secondLedger->getAccountState(rootAddress));
// temporary