Skip to content

Commit

Permalink
fix bitcoin#9894 backport
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Jan 23, 2019
1 parent 07b50ae commit 02f4661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ std::string CRPCTable::help(const std::string& strCommand, const std::string& st
BOOST_FOREACH(const PAIRTYPE(std::string, const CRPCCommand*)& command, vCommands)
{
const CRPCCommand *pcmd = command.second;
string strMethod = pcmd->name;
std::string strMethod = pcmd->name;
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand)
continue;
try
Expand Down

0 comments on commit 02f4661

Please sign in to comment.