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

Function previously_reserved

plugins/funder.c:560–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560static struct bitcoin_outpoint *
561previously_reserved(struct bitcoin_outpoint **prev_outs,
562 struct bitcoin_outpoint *out)
563{
564 for (size_t i = 0; i < tal_count(prev_outs); i++) {
565 if (bitcoin_outpoint_eq(prev_outs[i], out))
566 return prev_outs[i];
567 }
568
569 return NULL;
570}
571
572struct funder_utxo {
573 struct bitcoin_outpoint out;

Callers 1

listfunds_successFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected