| 39 | static struct amount_sat emergency_reserve; |
| 40 | |
| 41 | static struct pending_open * |
| 42 | find_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 | |
| 52 | static struct pending_open * |
| 53 | new_channel_open(const tal_t *ctx, |
no outgoing calls
no test coverage detected