Merge pull request #6631

e83df07 Update RPC generate help for numblocks to include required (Ian T)
This commit is contained in:
Wladimir J. van der Laan 2015-09-04 10:45:09 +02:00
commit 4b437b227c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -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"