partial bitcoin#14982: Remove unused PreCommand signal

This commit is contained in:
Kittywhiskers Van Gogh 2021-10-31 21:23:36 +05:30
parent b30bc75a32
commit 71b90dad97

View File

@ -41,7 +41,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)
@ -630,8 +629,6 @@ UniValue CRPCTable::execute(const JSONRPCRequest &request) const
}
}
g_rpcSignals.PreCommand(*pcmd);
try
{
// Execute, convert arguments to array if necessary