diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-01-18 10:27:16 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2023-02-15 15:49:45 -0300 |
commit | 6c9b342c306b9e17024762c4ba8f1c64e9810ee2 (patch) | |
tree | 3dc1ee399060d113f904e85332e5ecd4afcb3f45 /src/wallet/dump.cpp | |
parent | d8f5fc446216258a68e256076c889ec23471855f (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.cpp | 2 |
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(); |