diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-06-11 15:37:30 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2021-06-11 15:37:30 -0400 |
commit | d7f3b1af21daa93165b3726fee059a55b7727280 (patch) | |
tree | 907ff9961f56e042348c03fb1b7197d9e18e3c6a /src | |
parent | f66eceaecf464bfab5e19f3ca8fe680d8a6aa2e1 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 65bba1dd10..442c813a5a 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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; |