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

Function secret_from_hex

common/test/run-key_derive.c:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108/* AUTOGENERATED MOCKS END */
109
110static struct secret secret_from_hex(const char *hex)
111{
112 struct secret s;
113 hex += 2;
114 if (!hex_decode(hex, strlen(hex), &s, sizeof(s)))
115 abort();
116 return s;
117}
118
119int main(int argc, char *argv[])
120{

Callers 1

mainFunction · 0.70

Calls 2

hex_decodeFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected