Bugfix: RPC: JSON null is not "None"

This commit is contained in:
Luke Dashjr 2020-04-02 15:28:05 +00:00
parent 26dcf39581
commit f32ab443a9

View file

@ -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: {