refactor: Replace JSONRPCRequest fHelp field with mode field

No change in behavior
This commit is contained in:
Russell Yanofsky
2021-01-29 18:09:46 -05:00
parent 80e16cadd5
commit 6158a6d397
6 changed files with 18 additions and 21 deletions

View File

@@ -88,7 +88,7 @@ std::string CRPCTable::help(const std::string& strCommand, const JSONRPCRequest&
sort(vCommands.begin(), vCommands.end());
JSONRPCRequest jreq(helpreq);
jreq.fHelp = true;
jreq.mode = JSONRPCRequest::GET_HELP;
jreq.params = UniValue();
for (const std::pair<std::string, const CRPCCommand*>& command : vCommands)