diff --git a/src/cpp/ripple/Ledger.cpp b/src/cpp/ripple/Ledger.cpp index ef2ea2ba84..fb3ae0f520 100644 --- a/src/cpp/ripple/Ledger.cpp +++ b/src/cpp/ripple/Ledger.cpp @@ -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());