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

Function pubkey_from_hex

channeld/test/run-commit_tx.c:224–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222
223#if 0
224static struct pubkey pubkey_from_hex(const char *hex)
225{
226 struct pubkey pubkey;
227
228 if (strstarts(hex, "0x"))
229 hex += 2;
230 if (!pubkey_from_hexstr(hex, strlen(hex), &pubkey))
231 abort();
232 return pubkey;
233}
234#endif
235
236static void report_htlcs(const struct bitcoin_tx *tx,

Callers

nothing calls this directly

Calls 2

pubkey_from_hexstrFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected