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

Function encode_m

common/bolt11.c:1144–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1142}
1143
1144static void encode_m(u5 **data, const u8 *metadata)
1145{
1146 push_field(data, 'm', metadata, tal_bytelen(metadata) * CHAR_BIT);
1147}
1148
1149static void encode_d(u5 **data, const char *description)
1150{

Callers 1

bolt11_encode_Function · 0.85

Calls 2

push_fieldFunction · 0.85
tal_bytelenFunction · 0.85

Tested by

no test coverage detected