Skip to content

Commit eca65ca

Browse files
committed
Bugfix: RPC: Add missing commas and correct indentation of explicit ELISION
1 parent 41fa292 commit eca65ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/util.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,11 @@ void RPCResult::ToSections(Sections& sections, const OuterType outer_type, const
606606
switch (m_type) {
607607
case Type::ELISION: {
608608
// If the inner result is empty, use three dots for elision
609-
sections.PushSection({indent_next + "...", m_description});
609+
sections.PushSection({indent + "..." + maybe_separator, m_description});
610610
return;
611611
}
612612
case Type::NONE: {
613-
sections.PushSection({indent + "None", Description("json null")});
613+
sections.PushSection({indent + "None" + maybe_separator, Description("json null")});
614614
return;
615615
}
616616
case Type::STR: {

0 commit comments

Comments
 (0)