Replace index with height in help message for getblocksubsidy RPC call.

This commit is contained in:
Simon 2016-07-11 21:53:09 -07:00
parent 1b114e54c4
commit 1db13d5063
1 changed files with 2 additions and 2 deletions

View File

@ -771,10 +771,10 @@ Value getblocksubsidy(const Array& params, bool fHelp)
{ {
if (fHelp || params.size() != 1) if (fHelp || params.size() != 1)
throw runtime_error( throw runtime_error(
"getblocksubsidy index\n" "getblocksubsidy height\n"
"\nReturns block subsidy reward, taking into account the mining slow start, of block at index provided.\n" "\nReturns block subsidy reward, taking into account the mining slow start, of block at index provided.\n"
"\nArguments:\n" "\nArguments:\n"
"1. index (numeric, required) The block index\n" "1. height (numeric, required) The block height.\n"
"\nResult:\n" "\nResult:\n"
"amount (numeric) The block reward amount in ZEC.\n" "amount (numeric) The block reward amount in ZEC.\n"
"\nExamples:\n" "\nExamples:\n"