Always persist ledgers in SQLite

This commit is contained in:
Mark Travis
2021-09-08 10:31:04 -07:00
committed by Nik Bougalis
parent 2266b04dd8
commit bdfafa0b58

View File

@@ -749,10 +749,7 @@ RelationalDBInterfaceSqliteImp::saveValidatedLedger(
std::shared_ptr<Ledger const> const& ledger,
bool current)
{
if (!useTxTables_)
return true;
if (existsLedger() && existsTransaction())
if (existsLedger())
{
if (!ripple::saveValidatedLedger(
*lgrdb_, *txdb_, app_, ledger, current))