diff options
| author | Andrew Chow <[email protected]> | 2020-05-15 19:45:19 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-05-25 12:59:29 -0400 |
| commit | ea337f2d0318a860f695698cfb3aa91c03ded858 (patch) | |
| tree | 3aef1e31c2018054257081bc2e09a729b68bf301 /src/wallet/wallettool.cpp | |
| parent | Move RecoverDatabaseFile and RecoverKeysOnlyFilter into salvage.{cpp/h} (diff) | |
| download | discoin-ea337f2d0318a860f695698cfb3aa91c03ded858.tar.xz discoin-ea337f2d0318a860f695698cfb3aa91c03ded858.zip | |
Move RecoverKeysOnlyFilter into RecoverDataBaseFile
Diffstat (limited to 'src/wallet/wallettool.cpp')
| -rw-r--r-- | src/wallet/wallettool.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wallet/wallettool.cpp b/src/wallet/wallettool.cpp index ab5cf0061..be07c2850 100644 --- a/src/wallet/wallettool.cpp +++ b/src/wallet/wallettool.cpp @@ -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) |