mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
gui: Remove unused interfaces::Node references
Remove Node references no longer needed after previous commit
This commit is contained in:
@@ -490,7 +490,7 @@ int GuiMain(int argc, char* argv[])
|
||||
// Show help message immediately after parsing command-line options (for "-lang") and setting locale,
|
||||
// but before showing splash screen.
|
||||
if (HelpRequested(gArgs) || gArgs.IsArgSet("-version")) {
|
||||
HelpMessageDialog help(*node, nullptr, gArgs.IsArgSet("-version"));
|
||||
HelpMessageDialog help(nullptr, gArgs.IsArgSet("-version"));
|
||||
help.showOrPrint();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
@@ -500,7 +500,7 @@ int GuiMain(int argc, char* argv[])
|
||||
bool did_show_intro = false;
|
||||
bool prune = false; // Intro dialog prune check box
|
||||
// Gracefully exit if the user cancels
|
||||
if (!Intro::showIfNeeded(*node, did_show_intro, prune)) return EXIT_SUCCESS;
|
||||
if (!Intro::showIfNeeded(did_show_intro, prune)) return EXIT_SUCCESS;
|
||||
|
||||
/// 6. Determine availability of data directory and parse bitcoin.conf
|
||||
/// - Do not call GetDataDir(true) before this step finishes
|
||||
@@ -533,7 +533,7 @@ int GuiMain(int argc, char* argv[])
|
||||
}
|
||||
#ifdef ENABLE_WALLET
|
||||
// Parse URIs on command line -- this can affect Params()
|
||||
PaymentServer::ipcParseCommandLine(*node, argc, argv);
|
||||
PaymentServer::ipcParseCommandLine(argc, argv);
|
||||
#endif
|
||||
if (!gArgs.InitSettings(error)) {
|
||||
InitError(Untranslated(error));
|
||||
|
||||
Reference in New Issue
Block a user