mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
fix #9894 backport
This commit is contained in:
parent
07b50aefa2
commit
02f4661b3c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user