mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-30 18:35:54 +02: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:
@@ -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