From f32ab443a98e622afa601372454310aef1f380be Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Thu, 2 Apr 2020 15:28:05 +0000 Subject: [PATCH] Bugfix: RPC: JSON null is not "None" --- src/rpc/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {