mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 08:55:53 +00:00
Fix standalone mode.
This commit is contained in:
@@ -502,7 +502,8 @@ void Ledger::saveAcceptedLedger(Job&, bool fromConsensus)
|
|||||||
db->executeSQL("COMMIT TRANSACTION;");
|
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());
|
ScopedLock sl(theApp->getLedgerDB()->getDBLock());
|
||||||
|
|||||||
Reference in New Issue
Block a user