diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index 410bb741c15..8c5ee303626 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -1032,7 +1032,8 @@ void RPCResult::ToSections(Sections& sections, const OuterType outer_type, const switch (m_type) { case Type::ANY: { - NONFATAL_UNREACHABLE(); // Only for testing + sections.PushSection({indent + maybe_key + "xxx" + maybe_separator, Description("any")}); + return; } case Type::NONE: { sections.PushSection({indent + "null" + maybe_separator, Description("json null")});