File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ bool ParseBoolV(const UniValue& v, const std::string &strName)
226
226
* Note: This interface may still be subject to change.
227
227
*/
228
228
229
- std::string CRPCTable::help (const std::string& strCommand, const JSONRPCRequest& helpreq , const std::string& strSubCommand ) const
229
+ std::string CRPCTable::help (const std::string& strCommand, const std::string& strSubCommand , const JSONRPCRequest& helpreq ) const
230
230
{
231
231
std::string strRet;
232
232
std::string category;
@@ -308,7 +308,7 @@ UniValue help(const JSONRPCRequest& jsonRequest)
308
308
if (jsonRequest.params .size () > 1 )
309
309
strSubCommand = jsonRequest.params [1 ].get_str ();
310
310
311
- return tableRPC.help (strCommand, jsonRequest, strSubCommand );
311
+ return tableRPC.help (strCommand, strSubCommand, jsonRequest );
312
312
}
313
313
314
314
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ class CRPCTable
152
152
public:
153
153
CRPCTable ();
154
154
const CRPCCommand* operator [](const std::string& name) const ;
155
- std::string help (const std::string& name, const JSONRPCRequest& helpreq , const std::string& strSubCommand ) const ;
155
+ std::string help (const std::string& name, const std::string& strSubCommand , const JSONRPCRequest& helpreq ) const ;
156
156
157
157
/* *
158
158
* Execute a method.
You can’t perform that action at this time.
0 commit comments