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

Function u16_jsonfmt

plugins/libplugin.c:1721–1725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1719}
1720
1721bool u16_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, u16 *i)
1722{
1723 json_add_u32(js, fieldname, *i);
1724 return true;
1725}
1726
1727bool bool_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, bool *i)
1728{

Callers

nothing calls this directly

Calls 1

json_add_u32Function · 0.85

Tested by

no test coverage detected