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

Function stream2

wire/test/run-tlvstream.c:441–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441static u8 *stream2(const tal_t *ctx, const char *hex1, const char *hex2)
442{
443 u8 *a = stream(tmpctx, hex1), *b = stream(tmpctx, hex2), *ret;
444
445 ret = tal_dup_arr(ctx, u8, a, tal_count(a), tal_count(b));
446 memcpy(ret + tal_count(a), b, tal_count(b));
447 return ret;
448}
449
450static bool ignored_fields(const struct tlv_n1 *tlv_n1)
451{

Callers 1

mainFunction · 0.85

Calls 1

streamFunction · 0.85

Tested by

no test coverage detected