diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 65bba1dd103..442c813a5a6 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -490,6 +490,7 @@ int GuiMain(int argc, char* argv[]) /// 2. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these // Command-line options take precedence: + node_context.args = &gArgs; SetupServerArgs(gArgs); SetupUIArgs(gArgs); std::string error;