From 71b90dad9760a2be674b1b5bd097f9209290df18 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Sun, 31 Oct 2021 21:23:36 +0530 Subject: [PATCH] partial bitcoin#14982: Remove unused PreCommand signal --- src/rpc/server.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 31a2035bf3..ccf6603d33 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -41,7 +41,6 @@ static struct CRPCSignals { boost::signals2::signal Started; boost::signals2::signal Stopped; - boost::signals2::signal PreCommand; } g_rpcSignals; void RPCServer::OnStarted(std::function slot) @@ -630,8 +629,6 @@ UniValue CRPCTable::execute(const JSONRPCRequest &request) const } } - g_rpcSignals.PreCommand(*pcmd); - try { // Execute, convert arguments to array if necessary