| 26 | } |
| 27 | |
| 28 | size_t dest_count(const struct multifundchannel_command *mfc, |
| 29 | enum channel_protocol protocol) |
| 30 | { |
| 31 | size_t count = 0, i; |
| 32 | for (i = 0; i < tal_count(mfc->destinations); i++) { |
| 33 | if (mfc->destinations[i].protocol == protocol) |
| 34 | count++; |
| 35 | } |
| 36 | return count; |
| 37 | } |
| 38 | |
| 39 | static void fail_destination(struct multifundchannel_destination *dest) |
| 40 | { |
no outgoing calls
no test coverage detected