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

Function set_chan_id

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

Source from the content-addressed store, hash-verified

51}
52
53static void set_chan_id(struct splice_script_chan *chan, const char *hexstr)
54{
55 int result = hex_decode(hexstr, strlen(hexstr), &chan->chan_id,
56 sizeof(chan->chan_id));
57 assert(result);
58}
59
60
61int main(int argc, char *argv[])

Callers 1

mainFunction · 0.85

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected