diff options
| author | Luke Dashjr <[email protected]> | 2020-04-02 15:12:32 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2020-04-02 15:24:00 +0000 |
| commit | eca65caadcddf43b2dace111bd7e4b0a2a9556c2 (patch) | |
| tree | 6119c29b22e50e0cc55344cfe0623178ae4a8c4a /src/rpc/util.cpp | |
| parent | Merge #18492: qt: Translations update pre-branch (diff) | |
| download | discoin-eca65caadcddf43b2dace111bd7e4b0a2a9556c2.tar.xz discoin-eca65caadcddf43b2dace111bd7e4b0a2a9556c2.zip | |
Bugfix: RPC: Add missing commas and correct indentation of explicit ELISION
Diffstat (limited to 'src/rpc/util.cpp')
| -rw-r--r-- | src/rpc/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index 32e0e1ec2..f7038aba8 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: { |