mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Fix standalone mode.
This commit is contained in:
@@ -502,7 +502,8 @@ void Ledger::saveAcceptedLedger(Job&, bool fromConsensus)
|
||||
db->executeSQL("COMMIT TRANSACTION;");
|
||||
}
|
||||
|
||||
theApp->getHashedObjectStore().waitWrite(); // wait until all nodes are written
|
||||
if (!theConfig.RUN_STANDALONE)
|
||||
theApp->getHashedObjectStore().waitWrite(); // wait until all nodes are written
|
||||
|
||||
{
|
||||
ScopedLock sl(theApp->getLedgerDB()->getDBLock());
|
||||
|
||||
Reference in New Issue
Block a user