wallet: remove outdated pszSkip arg of database Rewrite func

This argument might have been used in the legacy wallets, but I don't
see any implementation using this argument in the SQLite wallets.
Removing it cleans up the code a bit.
This commit is contained in:
rkrux
2025-07-16 14:27:17 +05:30
parent b53fab1467
commit 2dfeb6668c
6 changed files with 8 additions and 8 deletions

View File

@@ -336,7 +336,7 @@ void SQLiteDatabase::Open()
}
}
bool SQLiteDatabase::Rewrite(const char* skip)
bool SQLiteDatabase::Rewrite()
{
// Rewrite the database using the VACUUM command: https://sqlite.org/lang_vacuum.html
int ret = sqlite3_exec(m_db, "VACUUM", nullptr, nullptr, nullptr);