mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
node: Add args alias for gArgs global
This commit is contained in:
parent
4bd6bc5cb4
commit
fad4fa7e2f
7 changed files with 14 additions and 6 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue