mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use new Ledger constructors.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user