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

Function txid_from_hex

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

bitcoind loves its backwards txids! */

Source from the content-addressed store, hash-verified

28
29/* bitcoind loves its backwards txids! */
30static struct bitcoin_txid txid_from_hex(const char *hex)
31{
32 struct bitcoin_txid txid;
33
34 if (!bitcoin_txid_from_hex(hex, strlen(hex), &txid))
35 abort();
36 return txid;
37}
38
39static struct secret secret_from_hex(const char *hex)
40{

Callers 1

mainFunction · 0.70

Calls 2

bitcoin_txid_from_hexFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected