We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b45cf0 commit d9e2183Copy full SHA for d9e2183
src/rpc/util.h
@@ -173,7 +173,7 @@ struct RPCArg {
173
m_oneline_description{std::move(oneline_description)},
174
m_type_str{std::move(type_str)}
175
{
176
- CHECK_NONFATAL(type != Type::ARR && type != Type::OBJ);
+ CHECK_NONFATAL(type != Type::ARR && type != Type::OBJ && type != Type::OBJ_USER_KEYS);
177
}
178
179
RPCArg(
@@ -193,7 +193,7 @@ struct RPCArg {
193
194
195
196
- CHECK_NONFATAL(type == Type::ARR || type == Type::OBJ);
+ CHECK_NONFATAL(type == Type::ARR || type == Type::OBJ || type == Type::OBJ_USER_KEYS);
197
198
199
bool IsOptional() const;
0 commit comments