Skip to content

Commit

Permalink
rpc: Remove unused PreCommand signal
Browse files Browse the repository at this point in the history
  • Loading branch information
promag committed Dec 14, 2018
1 parent 7a30e0f commit bf43832
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/rpc/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf43832

Please sign in to comment.