aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/init_test_fixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/test/init_test_fixture.cpp')
-rw-r--r--src/wallet/test/init_test_fixture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/init_test_fixture.cpp b/src/wallet/test/init_test_fixture.cpp
index f035a70a20..dd9354848d 100644
--- a/src/wallet/test/init_test_fixture.cpp
+++ b/src/wallet/test/init_test_fixture.cpp
@@ -16,7 +16,7 @@ InitWalletDirTestingSetup::InitWalletDirTestingSetup(const std::string& chainNam
std::string sep;
sep += fs::path::preferred_separator;
- m_datadir = GetDataDir();
+ m_datadir = gArgs.GetDataDirNet();
m_cwd = fs::current_path();
m_walletdir_path_cases["default"] = m_datadir / "wallets";