aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2020-04-17 11:32:48 -0400
committerRussell Yanofsky <russ@yanofsky.org>2020-05-13 16:20:13 -0400
commitb3f7f375efb9a9ca9a7a4f2caf41fe3df2262520 (patch)
treed9fe2ebd8d202502a21a32ee614e6a01f6b880c5 /src/init.cpp
parentccb5059ee89f6e8dc31ba5b82830b384890bb65e (diff)
refactor: Remove g_rpc_node global
This commit does not change behavior
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 4a12af22c3..f01416e136 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