diff options
author | Kiminuo <kiminuo@protonmail.com> | 2021-09-09 07:53:16 +0200 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-11-09 11:27:06 +0100 |
commit | 2ec38bdebbdfd3f932eaa85c98b617d7b9326399 (patch) | |
tree | deb39da0b3700ba18ab344ba977cd74f52dbdc2d /src/wallet/salvage.cpp | |
parent | 94db963de501e4aba6e5d8150a01ceb85753dee1 (diff) | |
download | bitcoin-2ec38bdebbdfd3f932eaa85c98b617d7b9326399.tar.xz |
Remove `gArgs` from `wallet.h` and `wallet.cpp`
Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
Diffstat (limited to 'src/wallet/salvage.cpp')
-rw-r--r-- | src/wallet/salvage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/salvage.cpp b/src/wallet/salvage.cpp index 4151099c1f..241d77c9de 100644 --- a/src/wallet/salvage.cpp +++ b/src/wallet/salvage.cpp @@ -133,7 +133,7 @@ bool RecoverDatabaseFile(const fs::path& file_path, bilingual_str& error, std::v } DbTxn* ptxn = env->TxnBegin(); - CWallet dummyWallet(nullptr, "", CreateDummyWalletDatabase()); + CWallet dummyWallet(nullptr, "", gArgs, CreateDummyWalletDatabase()); for (KeyValPair& row : salvagedData) { /* Filter for only private key type KV pairs to be added to the salvaged wallet */ |