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

Function u32_jsonfmt

plugins/libplugin.c:1715–1719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1713}
1714
1715bool u32_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, u32 *i)
1716{
1717 json_add_u32(js, fieldname, *i);
1718 return true;
1719}
1720
1721bool u16_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, u16 *i)
1722{

Callers

nothing calls this directly

Calls 1

json_add_u32Function · 0.85

Tested by

no test coverage detected