Merge #776: commit_data is entirely optional

6ba90ef1e commit_data is entirely optional (Gregory Sanders)

Pull request description:

  fixes https://github.com/ElementsProject/elements/issues/775#event-2795298661

Tree-SHA512: 1e3dd7fe416d40366ae0d5b66ff4f6cbc0dd881c3821b3b75ebad40453a9f6993008f780c9f8fe4a36881b3e7117a87118eb4dfd20f707adf6d4aa3903469031
This commit is contained in:
Steven Roose 2019-11-13 15:11:07 +00:00
commit ef4231fc00
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87

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"