aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-12-05 15:57:12 -0500
committerRussell Yanofsky <russ@yanofsky.org>2021-06-10 09:58:45 -0500
commit493fb47c577b7564138c883a8f22cbac3619ce44 (patch)
tree621d419274df1dc2d1f7ac4b925003de33e69cd7 /src/init.h
parent1704bbf2263f16c720604cfab4ccb775315df690 (diff)
downloadbitcoin-493fb47c577b7564138c883a8f22cbac3619ce44.tar.xz
Make SetupServerArgs callable without NodeContext
bitcoin-gui code needs to call SetupServerArgs but will not have a NodeContext object if it is communicating with an external bitcoin-node process.
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.h b/src/init.h
index 328eda9c7e..b856468e5d 100644
--- a/src/init.h
+++ b/src/init.h
@@ -69,7 +69,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info
/**
* Register all arguments with the ArgsManager
*/
-void SetupServerArgs(NodeContext& node);
+void SetupServerArgs(ArgsManager& argsman);
/** Returns licensing information (for -version) */
std::string LicenseInfo();