commit_data is entirely optional

This commit is contained in:
Gregory Sanders 2019-11-13 10:04:37 -05:00
parent f60e0684d1
commit 6ba90ef1e7

View file

@ -1017,7 +1017,7 @@ UniValue getnewblockhex(const JSONRPCRequest& request)
},
},
"proposed_parameters"},
{"commit_data", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Data in hex to be committed to in an additional coinbase output."},
{"commit_data", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED_NAMED_ARG, "Data in hex to be committed to in an additional coinbase output."},
},
RPCResult{
"blockhex (hex) The block hex\n"