rpc: Set RPCArg options with designated initializers

This commit is contained in:
MacroFake 2022-09-13 13:38:37 +02:00
parent 141540a71f
commit fa2c72dda0
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
8 changed files with 47 additions and 49 deletions

View file

@ -524,7 +524,7 @@ static RPCHelpMan getblocktemplate()
{"str", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "other client side supported softfork deployment"},
}},
},
"\"template_request\""},
RPCArgOptions{.oneline_description="\"template_request\""}},
},
{
RPCResult{"If the proposal was accepted with mode=='proposal'", RPCResult::Type::NONE, "", ""},