diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-04-02 13:35:01 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2021-04-07 04:53:26 -0400 |
commit | 9044522ef76f880760165d98fab024802ccfc062 (patch) | |
tree | 63f8b5c4d33440fda5e50c34ca22c6f80f81e269 /src/init.h | |
parent | aa69471ecd553dbcd7dd6d1b2e59dfb69d6a0cf3 (diff) |
Drop JSONRPCRequest constructors after #21366
This just makes an additional simplification after #21366 replaced
util::Ref with std::any. It was originally suggested
https://github.com/bitcoin/bitcoin/pull/21366#issuecomment-792044351 but
delayed for a followup. It would have prevented usage bug
https://github.com/bitcoin/bitcoin/pull/21572.
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.h b/src/init.h index 5d01d4c1ac..328eda9c7e 100644 --- a/src/init.h +++ b/src/init.h @@ -64,7 +64,7 @@ bool AppInitInterfaces(NodeContext& node); * @note This should only be done after daemonization. Call Shutdown() if this function fails. * @pre Parameters should be parsed and config file should be read, AppInitLockDataDirectory should have been called. */ -bool AppInitMain(const std::any& context, NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr); +bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr); /** * Register all arguments with the ArgsManager |