aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-04-02 15:28:05 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-04-02 15:28:05 +0000
commitf32ab443a98e622afa601372454310aef1f380be (patch)
tree15b560fce78a693ff8fddc830eccfdb9e6037509 /src/rpc
parent26dcf3958187cbdc9ffc9438a5eebfcaf607f7e9 (diff)
Bugfix: RPC: JSON null is not "None"
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp
index c1f46f224b..7e1fb7a59d 100644
--- a/src/rpc/util.cpp
+++ b/src/rpc/util.cpp
@@ -610,7 +610,7 @@ void RPCResult::ToSections(Sections& sections, const OuterType outer_type, const
return;
}
case Type::NONE: {
- sections.PushSection({indent + "None" + maybe_separator, Description("json null")});
+ sections.PushSection({indent + "null" + maybe_separator, Description("json null")});
return;
}
case Type::STR: {