MCPcopy Create free account
hub / github.com/ElementsProject/lightning / bool_jsonfmt

Function bool_jsonfmt

plugins/libplugin.c:1727–1731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1725}
1726
1727bool bool_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, bool *i)
1728{
1729 json_add_bool(js, fieldname, *i);
1730 return true;
1731}
1732
1733bool charp_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, char **p)
1734{

Callers 1

flag_jsonfmtFunction · 0.85

Calls 1

json_add_boolFunction · 0.85

Tested by

no test coverage detected