mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +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)
|
BOOST_FOREACH(const PAIRTYPE(std::string, const CRPCCommand*)& command, vCommands)
|
||||||
{
|
{
|
||||||
const CRPCCommand *pcmd = command.second;
|
const CRPCCommand *pcmd = command.second;
|
||||||
string strMethod = pcmd->name;
|
std::string strMethod = pcmd->name;
|
||||||
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand)
|
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand)
|
||||||
continue;
|
continue;
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user