util, refactor: Use GetPathArg to read "-conf" value

Also "includeconf" values been normalized.
This commit is contained in:
Hennadii Stepanov
2022-03-25 21:36:22 +01:00
parent 1c6fcea205
commit 1276090705
5 changed files with 11 additions and 11 deletions

View File

@@ -431,7 +431,7 @@ void openDebugLogfile()
bool openBitcoinConf()
{
fs::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
fs::path pathConfig = GetConfigFile(gArgs.GetPathArg("-conf", BITCOIN_CONF_FILENAME));
/* Create the file */
std::ofstream configFile{pathConfig, std::ios_base::app};