mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
rpc: Set RPCArg options with designated initializers
This commit is contained in:
parent
141540a71f
commit
fa2c72dda0
8 changed files with 47 additions and 49 deletions
|
|
@ -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, "", ""},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue