mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Always persist ledgers in SQLite
This commit is contained in:
committed by
Nik Bougalis
parent
2266b04dd8
commit
bdfafa0b58
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user