diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-03-09 09:47:04 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-03-09 09:47:04 +0100 |
commit | 54fae05dad26f3ebc2c666c736e9854583c0298e (patch) | |
tree | de1f602f50cc08ade2350393be6a6a5eec78a333 /src | |
parent | b0b57a17306a7e963a4fe463f84e2b150a00a859 (diff) |
Remove unreachable code (g_rpcSignals.PostCommand)
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/server.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 1b94e10071..6d0e30d42b 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -45,7 +45,6 @@ static struct CRPCSignals boost::signals2::signal<void ()> Started; boost::signals2::signal<void ()> Stopped; boost::signals2::signal<void (const CRPCCommand&)> PreCommand; - boost::signals2::signal<void (const CRPCCommand&)> PostCommand; } g_rpcSignals; void RPCServer::OnStarted(boost::function<void ()> slot) @@ -63,11 +62,6 @@ void RPCServer::OnPreCommand(boost::function<void (const CRPCCommand&)> slot) g_rpcSignals.PreCommand.connect(boost::bind(slot, _1)); } -void RPCServer::OnPostCommand(boost::function<void (const CRPCCommand&)> slot) -{ - g_rpcSignals.PostCommand.connect(boost::bind(slot, _1)); -} - void RPCTypeCheck(const UniValue& params, const list<UniValue::VType>& typesExpected, bool fAllowNull) @@ -492,8 +486,6 @@ UniValue CRPCTable::execute(const JSONRPCRequest &request) const { throw JSONRPCError(RPC_MISC_ERROR, e.what()); } - - g_rpcSignals.PostCommand(*pcmd); } std::vector<std::string> CRPCTable::listCommands() const |