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

Function stream2

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

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls 1

streamFunction · 0.85

Tested by

no test coverage detected