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

Function pubkey_from_hex

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

Source from the content-addressed store, hash-verified

201
202#if 0
203static struct pubkey pubkey_from_hex(const char *hex)
204{
205 struct pubkey pubkey;
206
207 if (strstarts(hex, "0x"))
208 hex += 2;
209 if (!pubkey_from_hexstr(hex, strlen(hex), &pubkey))
210 abort();
211 return pubkey;
212}
213#endif
214
215static 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