Skip to content

Commit 49ef846

Browse files
committed
[RPC] fix help texts
- getblockindexstats - getmintsinblocks - getserials
1 parent 26b1f0c commit 49ef846

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rpc/blockchain.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ void validaterange(const UniValue& params, int& heightStart, int& heightEnd, int
13011301
UniValue getmintsinblocks(const UniValue& params, bool fHelp) {
13021302
if (fHelp || params.size() != 3)
13031303
throw runtime_error(
1304-
"getmintsinblocks <height> <range> [coinDenomination]\n"
1304+
"getmintsinblocks height range coinDenomination\n"
13051305
"\nReturns the number of mints of a certain denomination"
13061306
"\noccurred in blocks [height, height+1, height+2, ..., height+range-1]\n"
13071307

@@ -1354,7 +1354,7 @@ UniValue getmintsinblocks(const UniValue& params, bool fHelp) {
13541354
UniValue getserials(const UniValue& params, bool fHelp) {
13551355
if (fHelp || params.size() < 2 || params.size() > 3)
13561356
throw runtime_error(
1357-
"getserials <height> <range> [fVerbose]\n"
1357+
"getserials height range ( fVerbose )\n"
13581358
"\nLook the inputs of any tx in a range of blocks and returns the serial numbers for any coinspend.\n"
13591359

13601360
"\nArguments:\n"
@@ -1461,7 +1461,7 @@ UniValue getserials(const UniValue& params, bool fHelp) {
14611461
UniValue getblockindexstats(const UniValue& params, bool fHelp) {
14621462
if (fHelp || params.size() < 2 || params.size() > 3)
14631463
throw runtime_error(
1464-
"getblockindexstats <height> <range> [fFeeOnly]\n"
1464+
"getblockindexstats height range ( fFeeOnly )\n"
14651465
"\nReturns aggregated BlockIndex data for blocks "
14661466
"\n[height, height+1, height+2, ..., height+range-1]\n"
14671467

0 commit comments

Comments
 (0)