aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authorKiminuo <kiminuo@protonmail.com>2021-02-26 09:52:50 +0100
committerKiminuo <kiminuo@protonmail.com>2021-04-18 12:07:00 +0200
commitbb8d1c6e029a2fd01387599d2ff3bfc879a8ada5 (patch)
tree1b34f491137be9ef3f9bd5b78f471db0d975e8cc /src/test/util
parentb4190eff72c00e384ad238f9c2f10c8b91be969b (diff)
Change ClearDataDirPathCache() to ArgsManager.ClearPathCache().
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/setup_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp
index 831083ccb8..ffc5115145 100644
--- a/src/test/util/setup_common.cpp
+++ b/src/test/util/setup_common.cpp
@@ -90,7 +90,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName, const std::ve
fs::create_directories(m_path_root);
m_args.ForceSetArg("-datadir", m_path_root.string());
gArgs.ForceSetArg("-datadir", m_path_root.string());
- ClearDatadirCache();
+ gArgs.ClearPathCache();
{
SetupServerArgs(m_node);
std::string error;