aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-04-02 15:12:32 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-04-02 15:24:00 +0000
commiteca65caadcddf43b2dace111bd7e4b0a2a9556c2 (patch)
tree6119c29b22e50e0cc55344cfe0623178ae4a8c4a /src/rpc/util.cpp
parent41fa2926d86a57c9623d34debef20746ee2f454a (diff)
Bugfix: RPC: Add missing commas and correct indentation of explicit ELISION
Diffstat (limited to 'src/rpc/util.cpp')
-rw-r--r--src/rpc/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp
index 32e0e1ec27..f7038aba8f 100644
--- a/src/rpc/util.cpp
+++ b/src/rpc/util.cpp
@@ -606,11 +606,11 @@ void RPCResult::ToSections(Sections& sections, const OuterType outer_type, const
switch (m_type) {
case Type::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;
}
case Type::NONE: {
- sections.PushSection({indent + "None", Description("json null")});
+ sections.PushSection({indent + "None" + maybe_separator, Description("json null")});
return;
}
case Type::STR: {