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

Function find_channel_pending_open

plugins/funder.c:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39static struct amount_sat emergency_reserve;
40
41static struct pending_open *
42find_channel_pending_open(const struct channel_id *cid)
43{
44 struct pending_open *open;
45 list_for_each(&pending_opens, open, list) {
46 if (channel_id_eq(&open->channel_id, cid))
47 return open;
48 }
49 return NULL;
50}
51
52static struct pending_open *
53new_channel_open(const tal_t *ctx,

Callers 3

new_channel_openFunction · 0.85
json_channel_open_failedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected