Skip to content

Commit

Permalink
Merge ElementsProject#776: commit_data is entirely optional
Browse files Browse the repository at this point in the history
6ba90ef commit_data is entirely optional (Gregory Sanders)

Pull request description:

  fixes ElementsProject#775 (comment)

Tree-SHA512: 1e3dd7fe416d40366ae0d5b66ff4f6cbc0dd881c3821b3b75ebad40453a9f6993008f780c9f8fe4a36881b3e7117a87118eb4dfd20f707adf6d4aa3903469031
  • Loading branch information
stevenroose committed Nov 13, 2019
2 parents f60e068 + 6ba90ef commit ef4231f
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 @@ -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"
Expand Down

0 comments on commit ef4231f

Please sign in to comment.