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

Function txid_from_hex

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

bitcoind loves its backwards txids! */

Source from the content-addressed store, hash-verified

49
50/* bitcoind loves its backwards txids! */
51static struct bitcoin_txid txid_from_hex(const char *hex)
52{
53 struct bitcoin_txid txid;
54
55 if (!bitcoin_txid_from_hex(hex, strlen(hex), &txid))
56 abort();
57 return txid;
58}
59
60static struct secret secret_from_hex(const char *hex)
61{

Callers 1

mainFunction · 0.70

Calls 2

bitcoin_txid_from_hexFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected