From ab956565491b1b7d228ec6f0b27628031d5e02a6 Mon Sep 17 00:00:00 2001 From: Ian T Date: Thu, 3 Sep 2015 13:29:10 -0400 Subject: [PATCH] Update RPC generate help for numblocks to include required The `generate` RPC has no default `numblocks` and a numeric value is required. --- src/rpc/mining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 013209ec9..5bf9cc5e3 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -164,7 +164,7 @@ UniValue generate(const UniValue& params, bool fHelp) "\nMine blocks immediately (before the RPC call returns)\n" "\nNote: this function can only be used on the regtest network\n" "\nArguments:\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"