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

Function jsonfmt_funding_option

plugins/funder_policy.c:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42bool jsonfmt_funding_option(struct command *cmd,
43 struct json_stream *js,
44 const char *fieldname,
45 enum funder_opt *opt)
46{
47 json_add_string(js, fieldname, funder_opt_name(*opt));
48 return true;
49}
50
51const char *funder_policy_desc(const tal_t *ctx,
52 const struct funder_policy *policy)

Callers

nothing calls this directly

Calls 2

funder_opt_nameFunction · 0.85
json_add_stringFunction · 0.50

Tested by

no test coverage detected