diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 0444fc5a91..2a24bf1eb7 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -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"}, },