fixme: src/rpc/util.cpp

this is now working after fixing up the rpc args in the previous commit
This commit is contained in:
Byron Hambly 2025-10-31 09:22:32 +02:00
parent 862a6868d8
commit 9eb7c8da3d
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697

View file

@ -536,7 +536,7 @@ RPCHelpMan::RPCHelpMan(std::string name, std::string description, std::vector<RP
for (const std::string& name : names) {
auto& param_type = param_names[name];
CHECK_NONFATAL(!(param_type & POSITIONAL));
// CHECK_NONFATAL(!(param_type & NAMED_ONLY)); // ELEMENTS FIXME
CHECK_NONFATAL(!(param_type & NAMED_ONLY));
param_type |= POSITIONAL;
}
if (arg.m_type == RPCArg::Type::OBJ_NAMED_PARAMS) {