refactor: Remove g_rpc_node global

This commit does not change behavior
This commit is contained in:
Russell Yanofsky
2020-04-17 11:32:48 -04:00
parent ccb5059ee8
commit b3f7f375ef
4 changed files with 0 additions and 10 deletions

View File

@@ -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