Skip to content

Commit

Permalink
remove 'label' filter for rpc command help
Browse files Browse the repository at this point in the history
Cherry-picked from: 6665977
  • Loading branch information
instagibbs authored and xanimo committed Jul 6, 2024
1 parent 962b020 commit 32a158b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/rpc/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,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 32a158b

Please sign in to comment.