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

Function scid_jsonfmt

plugins/offers.c:1983–1990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1981}
1982
1983static bool scid_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname,
1984 struct short_channel_id **scid)
1985{
1986 if (!*scid)
1987 return false;
1988 json_add_short_channel_id(js, fieldname, **scid);
1989 return true;
1990}
1991
1992int main(int argc, char *argv[])
1993{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected