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

Function encode_s

common/bolt11.c:1177–1180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1175}
1176
1177static void encode_s(u5 **data, const struct secret *payment_secret)
1178{
1179 push_field(data, 's', payment_secret, 256);
1180}
1181
1182static void encode_f(u5 **data, const u8 *fallback)
1183{

Callers 1

bolt11_encode_Function · 0.85

Calls 1

push_fieldFunction · 0.85

Tested by

no test coverage detected