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

Function set_node_id

common/test/run-splice_script.c:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44/* AUTOGENERATED MOCKS END */
45
46static void set_node_id(struct splice_script_chan *chan, const char *hexstr)
47{
48 int result = hex_decode(hexstr, strlen(hexstr), &chan->node_id,
49 sizeof(chan->node_id));
50 assert(result);
51}
52
53static void set_chan_id(struct splice_script_chan *chan, const char *hexstr)
54{

Callers 1

mainFunction · 0.70

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected