node: Add args alias for gArgs global

This commit is contained in:
MarcoFalke
2020-04-08 19:47:56 -04:00
parent 4bd6bc5cb4
commit fad4fa7e2f
7 changed files with 14 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ static bool AppInit(int argc, char* argv[])
// Parameters
//
// If Qt is used, parameters/bitcoin.conf are parsed in qt/bitcoin.cpp's main()
SetupServerArgs();
SetupServerArgs(node);
std::string error;
if (!gArgs.ParseParameters(argc, argv, error)) {
return InitError(strprintf("Error parsing command line arguments: %s\n", error));