mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'.
This commit is contained in:
@@ -215,8 +215,8 @@ void Application::loadOldLedger()
|
||||
std::cout << "No Ledger found?" << std::endl;
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
lastLedger->setClosed();
|
||||
|
||||
Ledger::pointer openLedger = boost::make_shared<Ledger>(false, boost::ref(*lastLedger));
|
||||
mMasterLedger.switchLedgers(lastLedger, openLedger);
|
||||
mNetOps.setLastCloseTime(lastLedger->getCloseTimeNC());
|
||||
|
||||
Reference in New Issue
Block a user