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