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

Function print_cl_vec

common/test/run-codex32.c:124–134  ·  view source on GitHub ↗

Print the "cl" variant of the vector */

Source from the content-addressed store, hash-verified

122
123/* Print the "cl" variant of the vector */
124static void print_cl_vec(const char *desc, const struct codex32 *parts)
125{
126 const char *err;
127 char *bip93;
128
129 err = codex32_secret_encode(tmpctx, "cl", parts->id, parts->threshold,
130 parts->payload, tal_bytelen(parts->payload),
131 &bip93);
132 assert(!err);
133 printf("%s: %s\n", desc, bip93);
134}
135
136int main(int argc, char *argv[])
137{

Callers 1

mainFunction · 0.85

Calls 2

codex32_secret_encodeFunction · 0.85
tal_bytelenFunction · 0.85

Tested by

no test coverage detected