mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
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:
parent
f66eceaecf
commit
d7f3b1af21
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user