Skip to content

Commit

Permalink
Merge #9894: remove 'label' filter for rpc command help
Browse files Browse the repository at this point in the history
6665977 remove 'label' filter for rpc command help (Gregory Sanders)

Tree-SHA512: 0676c55b2893a469cd6785963affbb04126b9a32c130f1bb22dfd233ede6998f695187264e897ced4e0dac48451d9ae0311ebb4f7442096cad632fd22f75080e
  • Loading branch information
laanwj committed Mar 2, 2017
2 parents b00ba62 + 6665977 commit 0496e15
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/rpc/server.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 0496e15

Please sign in to comment.