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

Function previously_reserved

plugins/funder.c:519–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519static struct bitcoin_outpoint *
520previously_reserved(struct bitcoin_outpoint **prev_outs,
521 struct bitcoin_outpoint *out)
522{
523 for (size_t i = 0; i < tal_count(prev_outs); i++) {
524 if (bitcoin_outpoint_eq(prev_outs[i], out))
525 return prev_outs[i];
526 }
527
528 return NULL;
529}
530
531struct funder_utxo {
532 struct bitcoin_outpoint out;

Callers 1

listfunds_successFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected