From 6ba90ef1e759ea65da453a7988194edf2226cb25 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Wed, 13 Nov 2019 10:04:37 -0500 Subject: [PATCH] commit_data is entirely optional --- src/rpc/mining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 1b923da34d..5de6759943 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -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"