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

@@ -2266,7 +2266,7 @@ DBErrors CWallet::LoadWallet()
DBErrors nLoadWalletRet = WalletBatch(GetDatabase()).LoadWallet(this);
if (nLoadWalletRet == DBErrors::NEED_REWRITE)
{
if (GetDatabase().Rewrite("\x04pool"))
if (GetDatabase().Rewrite())
{
for (const auto& spk_man_pair : m_spk_managers) {
spk_man_pair.second->RewriteDB();