Skip to content

Commit d7f3b1a

Browse files
committed
Fix gui segfault caused by bitcoin/bitcoin#22216
Reported by Hennadii Stepanov bitcoin/bitcoin#22216 (comment) Fixes bitcoin/bitcoin#22227
1 parent f66ecea commit d7f3b1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/bitcoin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ int GuiMain(int argc, char* argv[])
490490

491491
/// 2. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
492492
// Command-line options take precedence:
493+
node_context.args = &gArgs;
493494
SetupServerArgs(gArgs);
494495
SetupUIArgs(gArgs);
495496
std::string error;

0 commit comments

Comments
 (0)