diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-12-14 15:43:59 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-12-14 15:54:50 +0000 |
commit | bf4383277d6761cc5b7a91975752c08df829af72 (patch) | |
tree | e66e364d9907f2d824908489e40d6c01f7b5554f | |
parent | 7a30e0f6c54443616fdc28b7080dcbc9b630ac77 (diff) |
rpc: Remove unused PreCommand signal
-rw-r--r-- | src/rpc/server.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 733f8601ee..5b4d8e2f3d 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -36,7 +36,6 @@ static struct CRPCSignals { boost::signals2::signal<void ()> Started; boost::signals2::signal<void ()> Stopped; - boost::signals2::signal<void (const CRPCCommand&)> PreCommand; } g_rpcSignals; void RPCServer::OnStarted(std::function<void ()> slot) @@ -484,8 +483,6 @@ UniValue CRPCTable::execute(const JSONRPCRequest &request) const if (!pcmd) throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Method not found"); - g_rpcSignals.PreCommand(*pcmd); - try { // Execute, convert arguments to array if necessary |