Skip to content

Commit a8c8dbc

Browse files
committed
Merge #361: Fix gui segfault caused by bitcoin/bitcoin#22216
d7f3b1a Fix gui segfault caused by bitcoin/bitcoin#22216 (Russell Yanofsky) Pull request description: Reported by Hennadii Stepanov bitcoin/bitcoin#22216 (comment) Fixes bitcoin/bitcoin#22227 ACKs for top commit: hebasto: ACK d7f3b1a, tested on Linux Mint 20.1 (Qt 5.12.8). jarolrod: ACK d7f3b1a Tree-SHA512: d672bfa9f1bcd500a879ec7ed27096086ae93b73ad5da8090f29cc5b6d985c46a76583cc384304d67210f87b6b839c2391f0fcc24fd3588c4a014e540283fdfe
2 parents f66ecea + d7f3b1a commit a8c8dbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/bitcoin.cpp

+1
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)