Set a validated ledger in --load mode.

This commit is contained in:
JoelKatz
2013-07-18 21:13:52 -07:00
parent 123430951c
commit 9d50bd8d27
3 changed files with 10 additions and 0 deletions

View File

@@ -796,6 +796,7 @@ bool ApplicationImp::loadOldLedger (const std::string& l, bool bReplay)
Ledger::pointer openLedger = boost::make_shared<Ledger> (false, boost::ref (*loadLedger));
mLedgerMaster.switchLedgers (loadLedger, openLedger);
mLedgerMaster.forceValid(loadLedger);
mNetOps.setLastCloseTime (loadLedger->getCloseTimeNC ());
if (bReplay)