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

Function u64_jsonfmt_unless_zero

plugins/autoclean.c:847–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845}
846
847static bool u64_jsonfmt_unless_zero(struct command *cmd,
848 struct json_stream *js, const char *fieldname, u64 *i)
849{
850 if (!*i)
851 return false;
852 return u64_jsonfmt(cmd, js, fieldname, i);
853}
854
855static const struct plugin_command commands[] = { {
856 "autoclean-status",

Callers

nothing calls this directly

Calls 1

u64_jsonfmtFunction · 0.85

Tested by

no test coverage detected