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

Function tlvstream_set_short_channel_id

wire/tlvstream.c:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void tlvstream_set_short_channel_id(struct tlv_field **stream, u64 type,
69 struct short_channel_id *value)
70{
71 u8 *ser = tal_arr(NULL, u8, 0);
72 towire_short_channel_id(&ser, value);
73 tlvstream_set_raw(stream, type, take(ser), tal_bytelen(ser));
74}
75
76void tlvstream_set_tu64(struct tlv_field **stream, u64 type, u64 value)
77{

Callers 1

Calls 3

towire_short_channel_idFunction · 0.85
tlvstream_set_rawFunction · 0.85
tal_bytelenFunction · 0.85

Tested by

no test coverage detected