@@ -396,13 +396,12 @@ void RPCExecutor::request(const QString &command, const WalletModel* wallet_mode
396
396
std::string executableCommand = command.toStdString () + " \n " ;
397
397
398
398
// Catch the console-only-help command before RPC call is executed and reply with help text as-if a RPC reply.
399
- if (executableCommand == " help-console\n " )
400
- {
399
+ if (executableCommand == " help-console\n " ) {
401
400
Q_EMIT reply (RPCConsole::CMD_REPLY, QString ((" \n "
402
401
" This console accepts RPC commands using the standard syntax.\n "
403
402
" example: getblockhash 0\n\n "
404
403
405
- " This console can also accept RPC commands using parenthesized syntax.\n "
404
+ " This console can also accept RPC commands using the parenthesized syntax.\n "
406
405
" example: getblockhash(0)\n\n "
407
406
408
407
" Commands may be nested when specified with the parenthesized syntax.\n "
@@ -412,11 +411,11 @@ void RPCExecutor::request(const QString &command, const WalletModel* wallet_mode
412
411
" example: getblockhash 0\n "
413
412
" getblockhash,0\n\n "
414
413
415
- " Named results can be queried with a non-quoted key string in brackets.\n "
416
- " example: getblock(getblockhash(0) true )[tx]\n\n "
414
+ " Named results can be queried with a non-quoted key string in brackets using the parenthesized syntax .\n "
415
+ " example: getblock(getblockhash(0) 1 )[tx]\n\n "
417
416
418
- " Results without keys can be queried using an integer in brackets.\n "
419
- " example: getblock(getblockhash(0),true )[tx][0]\n\n " )));
417
+ " Results without keys can be queried with an integer in brackets using the parenthesized syntax .\n "
418
+ " example: getblock(getblockhash(0),1 )[tx][0]\n\n " )));
420
419
return ;
421
420
}
422
421
if (!RPCConsole::RPCExecuteCommandLine (m_node, result, executableCommand, nullptr , wallet_model)) {
0 commit comments