mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 05:03:16 +01:00
Move RecoverKeysOnlyFilter into RecoverDataBaseFile
This commit is contained in:
@@ -122,9 +122,7 @@ static bool SalvageWallet(const fs::path& path)
|
||||
}
|
||||
|
||||
// Perform the recovery
|
||||
CWallet dummy_wallet(nullptr, WalletLocation(), WalletDatabase::CreateDummy());
|
||||
std::string backup_filename;
|
||||
return RecoverDatabaseFile(path, (void*)&dummy_wallet, RecoverKeysOnlyFilter, backup_filename);
|
||||
return RecoverDatabaseFile(path);
|
||||
}
|
||||
|
||||
bool ExecuteWalletToolFunc(const std::string& command, const std::string& name)
|
||||
|
||||
Reference in New Issue
Block a user