Skip to content

Commit

Permalink
Update RPC generate help for numblocks to include required
Browse files Browse the repository at this point in the history
The `generate` RPC has no default `numblocks` and a numeric value is required.
  • Loading branch information
Ian T committed Sep 3, 2015
1 parent 69dc5b5 commit e83df07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcmining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ UniValue generate(const UniValue& params, bool fHelp)
"generate numblocks\n"
"\nMine blocks immediately (before the RPC call returns)\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"
"[ blockhashes ] (array) hashes of blocks generated\n"
"\nExamples:\n"
Expand Down

0 comments on commit e83df07

Please sign in to comment.