Update RPC generate help for numblocks to include required
The `generate` RPC has no default `numblocks` and a numeric value is required.
This commit is contained in:
parent
69dc5b51a0
commit
e83df075f9
@ -119,7 +119,7 @@ UniValue generate(const UniValue& params, bool fHelp)
|
|||||||
"generate numblocks\n"
|
"generate numblocks\n"
|
||||||
"\nMine blocks immediately (before the RPC call returns)\n"
|
"\nMine blocks immediately (before the RPC call returns)\n"
|
||||||
"\nNote: this function can only be used on the regtest network\n"
|
"\nNote: this function can only be used on the regtest network\n"
|
||||||
"1. numblocks (numeric) How many blocks are generated immediately.\n"
|
"1. numblocks (numeric, required) How many blocks are generated immediately.\n"
|
||||||
"\nResult\n"
|
"\nResult\n"
|
||||||
"[ blockhashes ] (array) hashes of blocks generated\n"
|
"[ blockhashes ] (array) hashes of blocks generated\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user