aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/dump.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-01-18 10:27:16 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-02-15 15:49:45 -0300
commit6c9b342c306b9e17024762c4ba8f1c64e9810ee2 (patch)
tree3dc1ee399060d113f904e85332e5ecd4afcb3f45 /src/wallet/dump.cpp
parentd8f5fc446216258a68e256076c889ec23471855f (diff)
refactor: wallet, remove global 'ArgsManager' access
we are not using it anymore
Diffstat (limited to 'src/wallet/dump.cpp')
-rw-r--r--src/wallet/dump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/dump.cpp b/src/wallet/dump.cpp
index 403ec711ff..a581cd53da 100644
--- a/src/wallet/dump.cpp
+++ b/src/wallet/dump.cpp
@@ -202,7 +202,7 @@ bool CreateFromDump(const ArgsManager& args, const std::string& name, const fs::
// dummy chain interface
bool ret = true;
- std::shared_ptr<CWallet> wallet(new CWallet(/*chain=*/nullptr, name, gArgs, std::move(database)), WalletToolReleaseWallet);
+ std::shared_ptr<CWallet> wallet(new CWallet(/*chain=*/nullptr, name, std::move(database)), WalletToolReleaseWallet);
{
LOCK(wallet->cs_wallet);
DBErrors load_wallet_ret = wallet->LoadWallet();