From e83df075f9dbae83a55cc01128a9c97c278426fd 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/rpcmining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 620a46be1..91de37fdc 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -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"