aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-02 10:03:17 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-03-02 10:07:31 +0100
commit0496e15aef1ce50a9d8b9ed970136e4f4b34c2ac (patch)
tree3903d069a91d7378a2c2d75b77eda8a27d267034 /src
parentb00ba6251f71fa1edaabdf809514e1bc3c67862e (diff)
parent666597798c07d9df06681be63d2b2f51f0d5ca8a (diff)
Merge #9894: remove 'label' filter for rpc command help
6665977 remove 'label' filter for rpc command help (Gregory Sanders) Tree-SHA512: 0676c55b2893a469cd6785963affbb04126b9a32c130f1bb22dfd233ede6998f695187264e897ced4e0dac48451d9ae0311ebb4f7442096cad632fd22f75080e
Diffstat (limited to 'src')
-rw-r--r--src/rpc/server.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index 0b763acd45..0d29f245ae 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -193,9 +193,6 @@ std::string CRPCTable::help(const std::string& strCommand) const
{
const CRPCCommand *pcmd = command.second;
string strMethod = pcmd->name;
- // We already filter duplicates, but these deprecated screw up the sort order
- if (strMethod.find("label") != string::npos)
- continue;
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand)
continue;
try