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

Function splicearr_to_string

common/splice_script.c:2833–2842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2831}
2832
2833char *splicearr_to_string(const tal_t *ctx,
2834 struct splice_script_result **result)
2835{
2836 char *str = tal_strdup(ctx, "");
2837
2838 for (size_t i = 0; i < tal_count(result); i++)
2839 tal_append_fmt(&str, "%s\n", splice_to_string(str, result[i]));
2840
2841 return str;
2842}

Callers 2

mainFunction · 0.85
splice_dryrunFunction · 0.85

Calls 2

tal_append_fmtFunction · 0.85
splice_to_stringFunction · 0.85

Tested by 1

mainFunction · 0.68