aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-04-18 14:35:44 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-04-26 12:46:28 +0900
commit629ff8c35845af95c95e24cfdda25f9991f95ae5 (patch)
tree9c2cfc75b67631be7c21cb19a81fe63d750edf03 /src/bitcoind.cpp
parenta0079d4b6dc67be3889af9a16eda89b3c4b33bc5 (diff)
-includeconf=<path> support in config handler, for including external configuration files
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 0dc2dfbf7d..38d5bb7aa1 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -92,7 +92,7 @@ bool AppInit(int argc, char* argv[])
}
try
{
- gArgs.ReadConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
+ gArgs.ReadConfigFiles();
} catch (const std::exception& e) {
fprintf(stderr,"Error reading configuration file: %s\n", e.what());
return false;