diff options
| author | Karl-Johan Alm <[email protected]> | 2018-04-18 14:35:44 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2018-04-26 12:46:28 +0900 |
| commit | 629ff8c35845af95c95e24cfdda25f9991f95ae5 (patch) | |
| tree | 9c2cfc75b67631be7c21cb19a81fe63d750edf03 /src/bitcoin-cli.cpp | |
| parent | Merge #13013: bench: Amend mempool_eviction test for witness txs (diff) | |
| download | discoin-629ff8c35845af95c95e24cfdda25f9991f95ae5.tar.xz discoin-629ff8c35845af95c95e24cfdda25f9991f95ae5.zip | |
-includeconf=<path> support in config handler, for including external configuration files
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 26a923130..c1f6c2294 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -107,7 +107,7 @@ static int AppInitRPC(int argc, char* argv[]) return EXIT_FAILURE; } 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 EXIT_FAILURE; |