@@ -277,19 +277,19 @@ static UniValue generateblock(const JSONRPCRequest& request)
277
277
RPCHelpMan{" generateblock" ,
278
278
" \n Mine a block with a set of ordered transactions immediately to a specified address or descriptor (before the RPC call returns)\n " ,
279
279
{
280
- {" address/descriptor " , RPCArg::Type::STR, RPCArg::Optional::NO, " The address or descriptor to send the newly generated bitcoin to." },
280
+ {" output " , RPCArg::Type::STR, RPCArg::Optional::NO, " The address or descriptor to send the newly generated bitcoin to." },
281
281
{" transactions" , RPCArg::Type::ARR, RPCArg::Optional::NO, " An array of hex strings which are either txids or raw transactions.\n "
282
282
" Txids must reference transactions currently in the mempool.\n "
283
283
" All transactions must be valid and in valid order, otherwise the block will be rejected." ,
284
284
{
285
285
{" rawtx/txid" , RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, " " },
286
286
},
287
- }
287
+ },
288
288
},
289
289
RPCResult{
290
290
RPCResult::Type::OBJ, " " , " " ,
291
291
{
292
- {RPCResult::Type::STR_HEX, " hash" , " hash of generated block" }
292
+ {RPCResult::Type::STR_HEX, " hash" , " hash of generated block" },
293
293
}
294
294
},
295
295
RPCExamples{
@@ -1188,7 +1188,7 @@ static const CRPCCommand commands[] =
1188
1188
1189
1189
{ " generating" , " generatetoaddress" , &generatetoaddress, {" nblocks" ," address" ," maxtries" } },
1190
1190
{ " generating" , " generatetodescriptor" , &generatetodescriptor, {" num_blocks" ," descriptor" ," maxtries" } },
1191
- { " generating" , " generateblock" , &generateblock, { " address " ," transactions" } },
1191
+ { " generating" , " generateblock" , &generateblock, { " output " ," transactions" } },
1192
1192
1193
1193
{ " util" , " estimatesmartfee" , &estimatesmartfee, {" conf_target" , " estimate_mode" } },
1194
1194
0 commit comments