mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-15 11:36:00 -05:00
Bugfix: RPC: Add missing commas and correct indentation of explicit ELISION
This commit is contained in:
parent
41fa2926d8
commit
eca65caadc
1 changed files with 2 additions and 2 deletions
|
@ -606,11 +606,11 @@ void RPCResult::ToSections(Sections& sections, const OuterType outer_type, const
|
||||||
switch (m_type) {
|
switch (m_type) {
|
||||||
case Type::ELISION: {
|
case Type::ELISION: {
|
||||||
// If the inner result is empty, use three dots for elision
|
// If the inner result is empty, use three dots for elision
|
||||||
sections.PushSection({indent_next + "...", m_description});
|
sections.PushSection({indent + "..." + maybe_separator, m_description});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case Type::NONE: {
|
case Type::NONE: {
|
||||||
sections.PushSection({indent + "None", Description("json null")});
|
sections.PushSection({indent + "None" + maybe_separator, Description("json null")});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case Type::STR: {
|
case Type::STR: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue