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

Function find_sum_for_txid

plugins/bkpr/bookkeeper.c:203–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203static struct fee_sum *find_sum_for_txid(struct fee_sum **sums,
204 struct bitcoin_txid *txid)
205{
206 for (size_t i = 0; i < tal_count(sums); i++) {
207 if (bitcoin_txid_eq(txid, sums[i]->txid))
208 return sums[i];
209 }
210 return NULL;
211}
212
213#define LISTCHANNELMOVES_LIMIT 10000
214static struct command_result *listchannelmoves_done(struct command *cmd,

Callers 1

do_inspectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected