mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-07 00:40:34 +02:00
Bugfix: respect user defined configuration file (-conf) when open conf. file from QT settings
This commit is contained in:
@ -417,7 +417,7 @@ void openDebugLogfile()
|
|||||||
|
|
||||||
bool openBitcoinConf()
|
bool openBitcoinConf()
|
||||||
{
|
{
|
||||||
boost::filesystem::path pathConfig = GetConfigFile(BITCOIN_CONF_FILENAME);
|
boost::filesystem::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
|
||||||
|
|
||||||
/* Create the file */
|
/* Create the file */
|
||||||
boost::filesystem::ofstream configFile(pathConfig, std::ios_base::app);
|
boost::filesystem::ofstream configFile(pathConfig, std::ios_base::app);
|
||||||
|
Reference in New Issue
Block a user