mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Standalone mode uses temp DB files by default (RIPD-1129):
* If a [database_path] is configured, it will always be used, and tables will be upgraded on startup.
This commit is contained in:
@@ -150,7 +150,7 @@ error_code_i fillHandler (Context& context,
|
||||
return rpcNO_NETWORK;
|
||||
}
|
||||
|
||||
if (!context.app.config().RUN_STANDALONE &&
|
||||
if (!context.app.config().standalone() &&
|
||||
handler->condition_ & NEEDS_CURRENT_LEDGER)
|
||||
{
|
||||
if (context.ledgerMaster.getValidatedLedgerAge () >
|
||||
|
||||
Reference in New Issue
Block a user