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

Function encode_c

common/bolt11.c:1170–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170static void encode_c(u5 **data, u32 min_final_cltv_expiry)
1171{
1172 if (dev_bolt11_omit_c_value)
1173 return;
1174 push_varlen_field(data, 'c', min_final_cltv_expiry);
1175}
1176
1177static void encode_s(u5 **data, const struct secret *payment_secret)
1178{

Callers 1

bolt11_encode_Function · 0.85

Calls 1

push_varlen_fieldFunction · 0.85

Tested by

no test coverage detected