From b3f7f375efb9a9ca9a7a4f2caf41fe3df2262520 Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Fri, 17 Apr 2020 11:32:48 -0400 Subject: refactor: Remove g_rpc_node global This commit does not change behavior --- src/init.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 4a12af22c..f01416e13 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1339,7 +1339,6 @@ bool AppInitMain(const util::Ref& context, NodeContext& node) for (const auto& client : node.chain_clients) { client->registerRpcs(); } - g_rpc_node = &node; #if ENABLE_ZMQ RegisterZMQRPCCommands(tableRPC); #endif -- cgit v1.2.3