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

Function find_sum_for_txid

plugins/bkpr/bookkeeper.c:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39static bool tom_jones;
40
41static struct fee_sum *find_sum_for_txid(struct fee_sum **sums,
42 struct bitcoin_txid *txid)
43{
44 for (size_t i = 0; i < tal_count(sums); i++) {
45 if (bitcoin_txid_eq(txid, sums[i]->txid))
46 return sums[i];
47 }
48 return NULL;
49}
50
51struct apy_req {
52 u64 *start_time;

Callers 1

json_inspectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected