fix: small fixup for bitcoin#14918 and bitcoin#21679

This commit is contained in:
Konstantin Akimov 2024-09-02 16:03:02 +07:00
parent f358f2bcdd
commit 24c01934a2
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -571,7 +571,7 @@ static RPCHelpMan getblocktemplate()
{"str", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "client side supported feature, 'longpoll', 'coinbasevalue', 'proposal', 'serverlist', 'workid'"},
},
},
{"rules", RPCArg::Type::ARR, RPCArg::Default{UniValue::VARR}, "A list of strings",
{"rules", RPCArg::Type::ARR, RPCArg::Optional::NO, "A list of strings",
{
{"str", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "client side supported softfork deployment"},
},