Fix gui segfault caused by bitcoin/bitcoin#22216
Reported by Hennadii Stepanov https://github.com/bitcoin/bitcoin/pull/22216#issuecomment-859790682 Fixes bitcoin/bitcoin#22227
This commit is contained in:
1 parent
f66eceaecf
commit
d7f3b1af21
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user