Skip to content

Commit

Permalink
Merge pull request #1216 from jhfrontz/correct_testproposedblock_help
Browse files Browse the repository at this point in the history
Correct testproposedblock help
  • Loading branch information
delta1 committed Mar 5, 2023
2 parents 8a17907 + 1b04245 commit b4ba5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ static RPCHelpMan testproposedblock()
"\nChecks a block proposal for validity, and that it extends chaintip\n",
{
{"blockhex", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The hex-encoded block from getnewblockhex"},
{"acceptnonstd", RPCArg::Type::BOOL, RPCArg::Optional::OMITTED_NAMED_ARG, "If set false, returns error if block contains non-standard transaction. Default is set via `-acceptnonstdtxn`. If PAK enforcement is set, block commitment mismatches with configuration PAK lists are rejected as well."},
{"acceptnonstd", RPCArg::Type::BOOL, RPCArg::Optional::OMITTED_NAMED_ARG, "If set false, returns error if block contains non-standard transaction. Default is set via `-acceptnonstdtxn`."},
},
RPCResult{RPCResult::Type::NONE, "", ""},
RPCExamples{
Expand Down

0 comments on commit b4ba5c7

Please sign in to comment.