mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
partial bitcoin#14982: Remove unused PreCommand signal
This commit is contained in:
parent
b30bc75a32
commit
71b90dad97
@ -41,7 +41,6 @@ static struct CRPCSignals
|
|||||||
{
|
{
|
||||||
boost::signals2::signal<void ()> Started;
|
boost::signals2::signal<void ()> Started;
|
||||||
boost::signals2::signal<void ()> Stopped;
|
boost::signals2::signal<void ()> Stopped;
|
||||||
boost::signals2::signal<void (const CRPCCommand&)> PreCommand;
|
|
||||||
} g_rpcSignals;
|
} g_rpcSignals;
|
||||||
|
|
||||||
void RPCServer::OnStarted(std::function<void ()> slot)
|
void RPCServer::OnStarted(std::function<void ()> slot)
|
||||||
@ -630,8 +629,6 @@ UniValue CRPCTable::execute(const JSONRPCRequest &request) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
g_rpcSignals.PreCommand(*pcmd);
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Execute, convert arguments to array if necessary
|
// Execute, convert arguments to array if necessary
|
||||||
|
Loading…
Reference in New Issue
Block a user