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
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
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));