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

Function fmt_cond

lightningd/runes.c:275–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275static char *fmt_cond(const tal_t *ctx,
276 const struct rune_altern *alt,
277 const char *cond_str)
278{
279 return tal_fmt(ctx, "%s %s %s", alt->fieldname, cond_str, alt->value);
280}
281
282static char *rune_altern_to_english(const tal_t *ctx, const struct rune_altern *alt)
283{

Callers 1

rune_altern_to_englishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected