aboutsummaryrefslogtreecommitdiff
path: root/src/common/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/init.cpp')
-rw-r--r--src/common/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/init.cpp b/src/common/init.cpp
index 6ffa44847a..8933d59c27 100644
--- a/src/common/init.cpp
+++ b/src/common/init.cpp
@@ -26,7 +26,7 @@ std::optional<ConfigError> InitConfig(ArgsManager& args, SettingsAbortFn setting
}
// Check for chain settings (Params() calls are only valid after this clause)
- SelectParams(args.GetChainName());
+ SelectParams(args.GetChainType());
// Create datadir if it does not exist.
const auto base_path{args.GetDataDirBase()};