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

Function encode_d

common/bolt11.c:1149–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147}
1148
1149static void encode_d(u5 **data, const char *description)
1150{
1151 push_field(data, 'd', description, strlen(description) * CHAR_BIT);
1152}
1153
1154static void encode_h(u5 **data, const struct sha256 *hash)
1155{

Callers 1

bolt11_encode_Function · 0.85

Calls 1

push_fieldFunction · 0.85

Tested by

no test coverage detected