Skip to content

Commit bf43832

Browse files
committed
rpc: Remove unused PreCommand signal
1 parent 7a30e0f commit bf43832

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/rpc/server.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ static struct CRPCSignals
3636
{
3737
boost::signals2::signal<void ()> Started;
3838
boost::signals2::signal<void ()> Stopped;
39-
boost::signals2::signal<void (const CRPCCommand&)> PreCommand;
4039
} g_rpcSignals;
4140

4241
void RPCServer::OnStarted(std::function<void ()> slot)
@@ -484,8 +483,6 @@ UniValue CRPCTable::execute(const JSONRPCRequest &request) const
484483
if (!pcmd)
485484
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Method not found");
486485

487-
g_rpcSignals.PreCommand(*pcmd);
488-
489486
try
490487
{
491488
// Execute, convert arguments to array if necessary

0 commit comments

Comments
 (0)